Skip to content

Commit

Permalink
mysql fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Feb 27, 2018
1 parent 662fee7 commit 3b715ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

2. **MySQL**: If you've decided to use MySQL backend, run the official MySQL Docker container:
```
$ docker run --name mysql --network tinode-net -d mysql:5.7
$ docker run --name mysql --network tinode-net --env MYSQL_ALLOW_EMPTY_PASSWORD=yes -d mysql:5.7
```
See [instructions](https://hub.docker.com/_/mysql/) for more options.

Expand Down
2 changes: 1 addition & 1 deletion docker/init-db/config.template
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"adapters": {
"mysql": {
"database": "tinode",
"dsn": "root@tcp(mysql)/tinode?parseTime=true"
"dsn": "root@tcp(mysql)/?parseTime=true"
},
"rethinkdb": {
"database": "tinode",
Expand Down
2 changes: 1 addition & 1 deletion tinode-db/tinode.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"adapters": {
"mysql": {
"database": "tinode",
"dsn": "root@tcp(localhost)/tinode?parseTime=true"
"dsn": "root@tcp(localhost)/?parseTime=true"
},
"rethinkdb": {
"database": "tinode",
Expand Down

0 comments on commit 3b715ad

Please sign in to comment.