Reputation: 3251
When I am trying to use SQLyog to connect to my MySQL database, it is giving the error like
Error No. 2005 Unknown MySQL server host 'database.ch3.s.com' (11004)
Any idea what can be the issue?
Upvotes: 0
Views: 2784
Reputation: 2863
Have you tried pinging the hostname, go to the command prompt and type 'ping database.ch3.s.com'
I have found scenarios where the database hostname is not available to external connections (ping will fail) but it works on the server. In this case you simply can't create an external connection to the database and will have to use the servers phpMyAdmin or equivalent.
Upvotes: 2
Reputation: 2250
The address of the MySQL databases seems to be invalid. The address 'database.ch3.s.com', is this a subsitute or is this the real address you are using?
Upvotes: 0
Reputation: 2185
Databse server may be down or there might be a proxy server which can prevent you to access the DB server.
Upvotes: 0