Current location - Quotes Website - Team slogan - How Navicat for mysql opens a database connection
How Navicat for mysql opens a database connection
First, mysql database must be installed on your computer. (If you don't know whether mysql is successfully installed, you can enter "mysql" in the start menu to search. )

Open your Navicat for Mysql (you can also use the above method here and enter "Navicat" in the start menu search box).

Open the first' connection' on the left of the independent toolbar and enter the connection page.

The most important step: the interface that opens has five boxes to enter. The first one: connection Name is the name of your newly created connection, and we will name it "local" here. The second one is:

Host Name /Ip Address You need to enter the Ip address of your computer or directly enter "localhost". Here we choose the second one. Third: port, enter the port number when installing, which is generally the default 3306; The fourth and fifth are: user name and password, which means you need to enter your database name, user name and password. My username is root and my password is (confidential, hehe). Finally, check the "Save Password" box below.

Complete the above steps, and then click "Test Connection iion" in the lower left corner. If it succeeds, congratulations. Just click the "Save" button in the lower right corner. If an error pops up, you need to re-check where you went wrong.

After clicking Save, you can double-click Local (where Local is the connection name you just entered) and then open your database.