Answers for "connect database in mysql command"

SQL
1

mysql command line connect

version: mysql 8.0

mysql --host=localhost --user=myname --password=password mydb

or:
mysql -h localhost -u myname -p password mydb

TO install mysql shell:
https://dev.mysql.com/doc/mysql-shell/8.0/en/mysql-shell-install.html
Posted by: Guest on September-21-2021

Code answers related to "connect database in mysql command"

Code answers related to "SQL"

Browse Popular Code Answers by Language