Error message:
ERROR 2003 (HY000): Can't connect to MySQL server on '....' (111).
Solution:
- Check connection details:
- Verify that the IP is correct.
- Verify that the Port number is correct.
- Check username and password.
- Network issues:
- Check that connection to VPN or any other connection types.
- Check Firewall definition.
- For cloud instances: check that your IP is allowed.
- Check that MySQL is up:
- Check that the MySQL service is up:
- Windows: in the services.
- Linux: sudo systemctl start <SERVICENAME>
- MySQL configurations:
- Max connections - see here: http://copypastenet.blogspot.com/2021/02/mysql-see-orand-change-how-many.html
- cnf file configurations.
No comments:
Post a Comment