https://github.com/lefred/gr_demo_router
MySQL InnoDB Cluster Demo kit for MySQL Router
https://github.com/lefred/gr_demo_router
Last synced: 12 months ago
JSON representation
MySQL InnoDB Cluster Demo kit for MySQL Router
- Host: GitHub
- URL: https://github.com/lefred/gr_demo_router
- Owner: lefred
- Created: 2019-05-21T14:53:44.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-12T12:02:58.000Z (almost 7 years ago)
- Last Synced: 2024-12-29T21:27:13.549Z (over 1 year ago)
- Language: JavaScript
- Size: 1.01 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
= MySQL InnoDB Cluster Demo Kit (web version)
Currently you need:
- php
- php-json
- php-mysqlnd
Currently you need to enable `default-authentication-plugin=mysql_native_password` before you create the user because PHP doesn't support yet `caching_sha2_password`:
```
php -r 'phpinfo();' | grep auth_ | cut -d' ' -f4| tr ',' '\n'
mysqlnd
debug_trace
auth_plugin_mysql_native_password
auth_plugin_mysql_clear_password
auth_plugin_sha256_password
```
You also need to run the following steps in your database:
```
mysql -e "CREATE DATABASE clusterdemo"
mysql clusterdemo < clusterdemo.sql
mysql -e "create user clusterdemo identified by 'fred'"
mysql -e "grant all privileges on *.* to clusterdemo@'%'"
```