Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 365b056

Browse files
authored
Update README.md
1 parent 65d785d commit 365b056

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

database/mysql/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# mysql
2+
3+
`mysql://user:password@tcp(host:port)/dbname?query`
4+
5+
| URL Query | WithInstance Config | Description |
6+
|------------|---------------------|-------------|
7+
| `x-migrations-table` | `MigrationsTable` | Name of the migrations table |
8+
| `dbname` | `DatabaseName` | The name of the database to connect to |
9+
| `user` | | The user to sign in as |
10+
| `password` | | The user's password |
11+
| `host` | | The host to connect to. |
12+
| `port` | | The port to bind to. |
13+
| `x-tls-ca` | | The location of the root certificate file. |
14+
| `x-tls-cert` | | Cert file location. |
15+
| `x-tls-key` | | Key file location. |
16+
| `x-tls-insecure-skip-verify` | | Whether or not to use SSL (true\|false) |
17+

0 commit comments

Comments
 (0)