refactor: retire legacy tinode database routing
This commit is contained in:
+2
-2
@@ -80,8 +80,8 @@ See [instructions](./docker/README.md)
|
||||
5. Open `tinode.conf` (located at `$GOPATH/pkg/mod/github.com/tinode/chat@vX.XX.X/server/`). Check that the database connection parameters are correct for your database. If you are using MySQL make sure [DSN](https://github.com/go-sql-driver/mysql#dsn-data-source-name) in `"mysql"` section is appropriate for your MySQL installation. Option `parseTime=true` is required.
|
||||
```js
|
||||
"mysql": {
|
||||
"dsn": "root@tcp(localhost)/tinode?parseTime=true",
|
||||
"database": "tinode"
|
||||
"dsn": "root@tcp(localhost)/meeting_im?parseTime=true",
|
||||
"database": "meeting_im"
|
||||
},
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user