Home > Database > Mysql Tutorial > How to open mysql57

How to open mysql57

藏色散人
Release: 2020-11-13 09:28:45
Original
3988 people have browsed it

How to open mysql57: First open the Winodws run window; then enter the cmd command in the open edit box; finally enter "mysql -hlocalhost -uroot -p123" in the terminal interface to open the MySQL database.

How to open mysql57

Recommended: "mysql video tutorial"

Start MySQL5.7 from the command line under windows

1. The Win menu key R combination opens the Winodws7 running window, and enter the cmd command in the open edit box, as shown in the figure below:

The Win menu key is in the lower left corner of the keyboard [ The key between the Ctrl Control] key and the [Alt Shift] key is marked with the Windows window mark.

Log in to the MySQL command line interface and connect to MySQL

2. Enter mysql -hlocalhost -uroot -p123 in the terminal interface, and the MySQL command line interface will appear.

Note: The -h above represents the host IP address or domain name, localhost represents the local address 127.0.0.1, -u refers to the MySQL user name, here is the root user during MySQL installation, and -p represents User password, assuming the password set when installing MySQL5.0.22 is 123.

This needs to be entered according to your own situation.

3. Display the MySQL database.

The above is the detailed content of How to open mysql57. 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