Skip to content

Commit 0c456c4

Browse files
authored
Merge pull request #1068 from goodfirm/master
chore: fix some typos in comments
2 parents f100226 + 9d70a39 commit 0c456c4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

database/cockroachdb/TUTORIAL.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ CREATE USER IF NOT EXISTS cockroach;
1515
GRANT ALL ON DATABASE example TO cockroach;
1616
```
1717

18-
When using Migrate CLI we need to pass to database URL. Let's export it to a variable for convienience:
18+
When using Migrate CLI we need to pass to database URL. Let's export it to a variable for convenience:
1919
```
2020
export COCKROACHDB_URL='cockroachdb://cockroach:@localhost:26257/example?sslmode=disable'
2121
```

database/mysql/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
| `port` | | The port to bind to. |
1515
| `tls` | | TLS / SSL encrypted connection parameter; see [go-sql-driver](https://github.com/go-sql-driver/mysql#tls). Use any name (e.g. `migrate`) if you want to use a custom TLS config (`x-tls-` queries). |
1616
| `x-tls-ca` | | The location of the CA (certificate authority) file. |
17-
| `x-tls-cert` | | The location of the client certicicate file. Must be used with `x-tls-key`. |
17+
| `x-tls-cert` | | The location of the client certificate file. Must be used with `x-tls-key`. |
1818
| `x-tls-key` | | The location of the private key file. Must be used with `x-tls-cert`. |
1919
| `x-tls-insecure-skip-verify` | | Whether or not to use SSL (true\|false) |
2020

database/mysql/mysql_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ func TestURLToMySQLConfig(t *testing.T) {
391391
// Not supported yet: https://github.com/go-sql-driver/mysql/issues/591
392392
// {name: "user/password - user with encoded :",
393393
// urlStr: "mysql://username%3A:password@tcp(127.0.0.1:3306)/myDB?multiStatements=true",
394-
// expectedDSN: "username::pasword@tcp(127.0.0.1:3306)/myDB?multiStatements=true"},
394+
// expectedDSN: "username::password@tcp(127.0.0.1:3306)/myDB?multiStatements=true"},
395395
{name: "user/password - user with encoded @",
396396
urlStr: "mysql://username%40:password@tcp(127.0.0.1:3306)/myDB?multiStatements=true",
397397
expectedDSN: "username@:password@tcp(127.0.0.1:3306)/myDB?multiStatements=true"},

0 commit comments

Comments
 (0)