21 June 2005
MySQL Remote Connectivity Problem
Posted by Mikhail Esteves under: LAMP; Tips .
If MySQL gives you an error like ERROR 2003: Can’t connect to MySQL server on ‘host.domain.com’ (10061), there are 5 possible ways of solving it:
- Comment out skip-networking in your my.cnf file
- Comment out any bind-address and it’s corresponding port line in my.cnf
- Check if there is a permission problem in your MySQL data directory
- Try switching the server to a different port number (instead of 3306)
- If all these fail, re-check the permissions in the db and user tables in your ‘mysql’ database.
mysql One Comment so far...
.::PHPVietnam.net::. » MySQL Remote Connectivity Problem Says:
12 July 2005 at 5:44 pm.
[…] Nếu bạn gặp thông báo: ERROR 2003: Can’t connect to MySQL server on ‘host.domain.com’ (10061), xin hãy chú ý đến cách giải quyết của tác giả này. Cat: […]