run mysql command from command line windows code example
Example 1: mysql cmd command to run
mysql.exe –uroot –p
Example 2: start mysql command line windows
Press CTRL+C to copy C:\> "C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld"
mysql.exe –uroot –p
Press CTRL+C to copy C:\> "C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld"