How to connect to mysql under dos: first output "cmd" in the running line and call the Dos command window; then enter "mysql -uroot -p" in the window and press Enter; finally enter the password to connect success.
Recommended: "mysql video tutorial"
Use Dos to connect to the database under win
Method
First turn on the computer, under the window system, press the system key r to open the run box, as shown in the figure
Output in the run line 'cmd', call the Dos command window
and enter it in the window, mysql -uroot -p and press Enter, then enter the password. Seeing the following interface means the connection is successful.
The above is the detailed content of How to connect to mysql under dos. For more information, please follow other related articles on the PHP Chinese website!