run mysql server through command prompt code example
Example 1: mysql cmd command to run
mysql.exe –uroot –p
Example 2: how to start mysql server in 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"