Question 1 solve Start the service: service mysqld start; /sbin/iptables -I INPUT -p tcp --dport 8011 -j ACCEPT #Open port 8011 /etc/rc.d/init.d/iptables save #Save configuration /etc/rc.d/init.d/iptables restart #Restart service #Check if the port is open /etc/init.d/iptables status Question 2 solve Mysql -u root -proot (root is the password) mysql>GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'yourpassword' WITH GRANT OPTION; Refresh permissions: FLUSH PRIVILEGES Question 3 After the MySQL service is set up, the default root role cannot connect remotely. Enable remote login for the root user in the user table under the MySQL database on the machine where MySQL is installed. This is the end of this article about common errors and solutions when Navicat connects to virtual machine mysql. For more information about errors when Navicat connects to virtual machine mysql, please search 123WORDPRESS.COM's previous articles or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Instructions for using the meta viewport tag (mobile browsing zoom control)
>>: Detailed steps for installing Tomcat, MySQL and Redis with Docker
Command to add a route: 1.Route add route add -ne...
Test project: react-demo Clone your react-demo pr...
1. Install basic components First, execute the yu...
1. Install tools and libraries # PCRE is a Perl l...
Table of contents Features of etcd There are thre...
Written in front There are two ways to upgrade My...
Table of contents View Disk Usage Disk Cleanup (D...
1. Download the Linux version from the official w...
1. Preparation Install Tomcat on Linux system, us...
Next, we will learn how to monitor server perform...
1. According to the online tutorial, the installa...
It has been three or four months since I joined Wo...
Table of contents 1. Insert the queried results 2...
grammar background: linear-gradient(direction,col...
Problem description: When phpstorm's SFTP hos...