Home > Database > Mysql Tutorial > body text

How to enter the mysql database

(*-*)浩
Release: 2019-05-17 17:46:37
Original
18323 people have browsed it

This article will explain how to use the command line to enter mysql on the windows platform. If you use the tool, you only need to create a new connection and enter the specified data to open the database.

How to enter the mysql database

First make sure to run the command line window as an administrator because the permissions are relatively high.

Win r Enter the cmd command line interface to start the mysql database: net start mysql80 (mysql80 is the name of the database installed on your computer)

How to enter the mysql database

Enter: mysql -u root -p (root is the user name), press Enter

Enter the password, press Enter

and then you can enter the MySQL database, such as the following interface.

How to enter the mysql database

Of course, different systems and different database visualization interfaces have different methods of connecting to the database, but generally they are all user names. Password and port number. If it is a remote connection, remember to open the remote connection.

The above is the detailed content of How to enter the mysql database. 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