Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

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
Source by dev.mysql.com #
 
PREVIOUS NEXT
Tagged: #mysql #command #line #connect
ADD COMMENT
Topic
Name
5+3 =