Home  >  Article  >  Database  >  How to connect Nacicat to MySQL database?

How to connect Nacicat to MySQL database?

青灯夜游
青灯夜游Original
2019-05-21 10:52:589494browse

Developers will all be involved in the use of databases. Navicat is a very useful software for connecting to mysql database. The following article will introduce to you how to use navicat to connect to the database. I hope it will be helpful to you.

How to connect Nacicat to MySQL database?

How to connect Nacicat to the MySQL database:

1. After installing MySQL and Navicat, open Navicat and click "Connect "menu.

How to connect Nacicat to MySQL database?

2. Navicat designs and operates the database through connections, so give a connection name, and then set the host port, etc. The default user name is root, password It's empty. If you set a password, enter it.

The connection information that needs to be filled in includes: connection name, connection address, connection port, user name, password

If you connect to a local database, you can write [localhost] or [127.0.0.1] , represents the local IP, the connection name is an alias, you can write anything

How to connect Nacicat to MySQL database?

3. You can test it before confirming, click the [Connection Test] button , this is to test whether our database can be connected. If it can be connected, a prompt

How to connect Nacicat to MySQL database?

will pop up. As shown in the picture, there are no accidents. The connection is valid. If it is unsuccessful, go and take a look. Is MySQL installed, or are the port number and password correct?

After confirming that the connection can be made, we can directly click the [OK] button

How to connect Nacicat to MySQL database?

4. The connection is created. Double-click the connection to use the connection. oh.

How to connect Nacicat to MySQL database?

If you don’t want this connection, you can right-click the mouse to delete the connection, close the connection, and create a new database.

How to connect Nacicat to MySQL database?

Related learning recommendations: mysql tutorial(video)

The above is the detailed content of How to connect Nacicat to MySQL database?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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 [email protected]