Skip to content

Instantly share code, notes, and snippets.

@yoku0825
Last active Dec 21, 2015
Embed
What would you like to do?
* router.iniにpassword= 指定
```
# mysqlrouter --extra-config=/tmp/setup/router.ini
Logging to /var/log/mysqlrouter/mysqlrouter.log
Configuration error: 'password' option is not allowed in the configuration file. Router will prompt for password instead.
```
* router.iniからpasswordを取る
```
# mysqlrouter --extra-config=/tmp/setup/router.ini
Logging to /var/log/mysqlrouter/mysqlrouter.log
Password for [fabric_cache:dummy], user admin:
```
* MySQL Fabric側で`disable_authentication= yes`
* プロンプトで聞かれはするけど、無視しても動く。
```
2015-12-21T15:50:00.423821017Z Logging to /var/log/mysqlrouter/mysqlrouter.log
2015-12-21T15:50:00.425625639Z Password for [fabric_cache:dummy], user dummy:
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment