How to use the host's Navicat Premium 15 to link the mysql of the local virtual machine (centos 7)

After deploying the local virtual machine, you need to link the mysql database on the virtual machine. Considering that it is troublesome and error-prone to execute the sql file on the command line, I thought of using Navicat Premium 15 for linking. The previous idea has always been to install directly on centos Navicat, but it is more troublesome to crack, so directly use Navicat Premium 15 of the local host to connect. If you really want to install Navicat on the centos host, download it directly from Baidu Cloud

Link: navicat15-premium-cs.AppImage
extraction code: 6r4d

Transfer this file to the local virtual machine, and then use the following command to install, but the trial period is only 14 days

chmod +x navicat15-premium-cs.AppImage
./navicat15-premium-cs.AppImage

Let's talk directly about how to use the host's Navicat Premium 15 to connect

Step 1: Enter the ifconfig command in the terminal to view the path of the local virtual machine

ifconfig 

Step 2: Turn off the firewall, refer to centos7 to turn off the firewall .

Step 3: Set mysql remote connection, please refer to mysql remote configuration . Note that the configuration commands are different for different mysql versions .

Step 4: After setting up, open Navicat Premium 15 to configure information.

So far the link is complete, I hope it will be helpful to everyone. 

Guess you like

Origin blog.csdn.net/xgysimida/article/details/108313186