[mysql shell] usage - Helena61/-bookshelf GitHub Wiki
Mysql -Server, which port?
- C:\Program Files\MySQL\MySQL Server 8.0 http://www.techbrothersit.com/2018/11/how-to-find-on-which-port-mysql-server.html
"C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe" --defaults-file=
MySQL Shell 8.0.21
shell.status()
MySQL JS > shell.status()
MySQL Shell version 8.0.21
Not Connected.
https://dev.mysql.com/doc/mysql-shell/8.0/en/mysql-shell-connections.html
// Decrease the timeout to 2 seconds.
mysql-js> \connect [email protected]?connect-timeout=2000
// Increase the timeout to 20 seconds
mysql-js> \connect [email protected]?connect-timeout=20000
- \connect root@localhost?connect-timeout=20000
- \connect --mysql root@localhost?connect-timeout=20000 (psw, ingimar)
mysql-js> shell.connect( {scheme:'mysqlx', user:'user', host:'localhost', port:33060} )
shell.connect( {scheme:'bookshelf', user:'root', host:'localhost', port:33060} )