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
When using CSS pseudo-elements to control element...
This article takes the connection error ECONNREFU...
Here we only introduce the relatively simple inst...
Table of contents 1. Redux 1.1. Store (librarian)...
This article example shares the specific code of ...
I remember a question the interviewer asked durin...
Table of contents 1. Tool Introduction 2. Workflo...
CocosCreator version: 2.3.4 Most games have layer...
This article briefly introduces the relationship ...
The concept of lock ①. Lock, in real life, is a t...
<br />I'm basically going crazy with thi...
Preface Since errors always occur, record the pro...
For example, there is an input box <el-input r...
1 Pull the image from hup docker pull nginx 2 Cre...
How to check if the Docker container time zone is...