Home > Database > Mysql Tutorial > How to connect mysql to local database

How to connect mysql to local database

藏色散人
Release: 2020-11-13 09:24:48
Original
12429 people have browsed it

How to connect mysql to the local database: first open Navicat for mysql on your computer; then click the "Connect" option in the upper right corner; then enter the name in the window interface of the new connection; finally click the connection test.

How to connect mysql to local database

Recommendation: "mysql video tutorial"

1. Open the computer and Navicat for mysql has been installed. Then click the "Connect" option in the upper right corner.

How to connect mysql to local database

#2. A new connection window will pop up. Enter the name in the connection name. The host name is in the local database, so use localhost. That’s it, just leave the password blank.

How to connect mysql to local database

#3. If the connection to the convenient database is successful, you need to test it first and perform a click connection test.

How to connect mysql to local database

#4. You can see that the connection is successful, and then click OK.

How to connect mysql to local database

#5. Enter the connection data interface. The required database cannot be displayed now. You need to double-click it.

How to connect mysql to local database

#6. You can see all the databases that display this user name.

How to connect mysql to local database

The above is the detailed content of How to connect mysql to local 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