Home > Database > Mysql Tutorial > How to connect to mysql under dos

How to connect to mysql under dos

藏色散人
Release: 2020-11-01 14:46:17
Original
2835 people have browsed it

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.

How to connect to mysql under dos

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

How to connect to mysql under dos

Output in the run line 'cmd', call the Dos command window

How to connect to mysql under dos

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.

How to connect to mysql under dos

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template