The virtual machine began to work well. After a while, it was found that Navicat suddenly connected and did not report 2003, Firefox could not get on the network, and an error was reported when the code accessed the database; In short, the remote connection failed. It may be because VMware is copied for direct use or after the second boot Click to restore the previous state (there are also copy operations), and the MAC address is the same.
If the small Lord’s method doesn’t work
Check: 1. Whether the firewall is turned off
2. Whether the sql service is running (when MySQL is installed locally)
3. Set any IP access
Execute under the root path of the database: MySQL – U root – P password
mysql> GRANT ALL PRIVILEGES ON . TO ‘root’@’%’ IDENTIFIED BY ‘123456’ WITH GRANT
OPTION;
experience‘ % in root ‘@’% ‘represents any IP. If you want to specify an IP to access the database. User name: root, login password: 123456, specify unique computer access: ‘root’ @ ‘192.168.211.132’
Refresh configuration: MySQL & gt; flush privileges;
Read More:
- 2059 error in connecting to database by Navicat premium
- JDBC connect to Sql Server to connect to the database–The TCP/IP connection to the host localhost, port 1433 has failed
- Navicat for MySQL error 1251 failed to connect to MySQL
- solve!! VMware Workstation failed to start the VMware authorization service
- Solve the error of ora-12514 when Navicat connects to Oracle Database
- VMware Workstation failed to start VMware Authorization Service
- Navicat premium essentials for Mac database settings
- Using Navicat + premium + 11.1 to connect to PG12 version, error: column c.relhasoids does not exist
- Navicat import local SQL file error “[MSG] finished – unsuccessfully | [err] 1046 – no database selected”
- PHP connection to MySQL database error: call to undefined function MySQL_ connect()
- Ubuntu xshell cannot connect to VMware virtual machine solution
- Connect to the repository by using the database resource library!
- VMware virtual machine installation of vmware tools, VMware shared folder location
- Failed to connect to Mir:Failed to connect to server socket:No such file or directory
- MYSQL login error: mysqladmin: connect to server at’localhost’ failed
- Host is not allowed to connect to this MySQL server
- MongoNetworkError: failed to connect to server [localhost:27017] on first connect [Error: connect EC
- 1716438 – Error :” Failed to load database information Details: The Database connector crdb_bwquery.
- Solve the problem that the virtual machine can’t be opened? Tips on VMware Workstation cannot connect to the virtual machine
- Solution — unable to install vmware tools on windows2012r2 in VMWare