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
VMware12.0+Ubuntu16.04+MySQL5.7.22 installation t...
.y { background: url(//img.jbzj.com/images/o_y.pn...
1 What is BEM Naming Standard Bem is the abbrevia...
Table of contents 1. Trigger Introduction 1. What...
3. MySQL Data Management The first method: not re...
The :not pseudo-class selector can filter element...
I reinstalled the system some time ago, but I did...
Official Website https://cli.vuejs.org/en/guide/ ...
Drop-shadow and box-shadow are both CSS propertie...
The first web page I designed is as follows: I ha...
Preface The project requires a circular menu. I s...
Generate Linux library The Linux version uses cen...
Install TomCat on Windows This article will intro...
This article example shares the specific code of ...
In daily development, database addition, deletion...