1version: mysql 8.0
2
3mysql --host=localhost --user=myname --password=password mydb
4
5or:
6mysql -h localhost -u myname -p password mydb
7
8TO install mysql shell:
9https://dev.mysql.com/doc/mysql-shell/8.0/en/mysql-shell-install.html
1mysql --host=localhost --user=myname --password mydb
2mysql -h localhost -u myname -p mydb
1mysql --host=localhost --port=myport --user=myname --password
2mysql -h localhost -u myname -p --port=myport