mysql connect command line windows code example
Example 1: start mysql command line windows
Press CTRL+C to copy C:\> "C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld"
Example 2: connect mysql command line
mysql --host=localhost --port=myport --user=myname --password
mysql -h localhost -u myname -p --port=myport