Open MySQL through Command Prompt CMD

In this video I have shown how you can open MySql through Command Prompt.

1. Open command Prompt.

2. Now navigate to the location where you have installed MySql. In my PC its installed in location “C:\Program Files\MySQL\MySQL Server 8.0\bin”.

3. Now enter the below command, It will ask for password.

.
In my case the user name is root, So the command will be as shown below.

4. Enter the password, Thats all you have successfully logged in MySql.

179 views