enter mysql in console code example
Example 1: mysql cmd command to run
mysql.exe –uroot –p
Example 2: mysql connect command
mysql --host=localhost --user=myname --password mydb
mysql -h localhost -u myname -p mydb
mysql.exe –uroot –p
mysql --host=localhost --user=myname --password mydb
mysql -h localhost -u myname -p mydb