MySQL Remote Connectivity Problem

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:

  1. Comment out skip-networking in your my.cnf file
  2. Comment out any bind-address and it’s corresponding port line in my.cnf
  3. Check if there is a permission problem in your MySQL data directory
  4. Try switching the server to a different port number (instead of 3306)
  1. If all these fail, re-check the permissions in the db and user tables in your ‘mysql’ database.

1 Comment

[…] 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:  […]

Leave a comment

Your comment