Sqlog failed to connect to MySQL database in Linux system
error message: can’t connect to MySQL server on ‘192.168.64.132’
It can be connected before, but it is not enough to install the virtual machine image. According to the data, you can use SSH connection, and the configuration is as follows:
If you don’t use SSH connection, you need to use win’s telnet to test whether telnet 192.168.64.132 3306 and telnet 192.168.64.132 22 can connect
2, the virtual machine opens the firewall and does not expose port 3306( 22 can be connected, 3306 can not be connected).
Reference blog
Read More:
- MySQL: if the remote connection using navicatip fails, prompt “is not allowed to connect to this MySQL server”
- The MySQL service suddenly hangs up with the error message can’t connect to MySQL server on ‘localhost’ (10061)
- The server just without updating PID file and can’t connect to local MySQL server through socket are solved
- It can’t connect to local MySQL server through socket ‘/ tmp/ mysql.sock ‘(2) “;
- Can’t connect to MySQL server error 111
- Cannot connect to MySQL server on “host” (113)
- Sqlog connect to MySQL 8.0.24 remote server, error: 2058 solution
- Error 2003 (HY000): can’t connect to MySQL server on ‘localhost’ (10061)
- ERROR 2002 (HY000): Can’t connect to MySQL server on ‘localhost’ (10061)
- mysql problem solving: mysqladmin: connect to server at’localhost’ failed
- 2003 – Can‘t connect to MySQL server on ‘192.168.163.128‘(Unknown error )
- CentOS Liunx 7 uses rdesktop to remotely connect to the Alibaba Cloud server and it appears Failed to connect, CredSSP required by server.
- MYSQL login error: mysqladmin: connect to server at’localhost’ failed
- Host is not allowed to connect to this MySQL server
- node.js Server MySQL database connection timeout (error: connect etimeout)
- PHP connection to MySQL database error: call to undefined function MySQL_ connect()
- JDBC connect to Sql Server to connect to the database–The TCP/IP connection to the host localhost, port 1433 has failed
- MongoNetworkError: failed to connect to server [localhost:27017] on first connect [Error: connect EC
- MySQL Workbench Failed to Connect to MySQL at 127.0.0.1:3306 with user root Bad handshake
- When MySQL is running, the server suddenly goes down, which causes Mysql to be unable to restart