Вопрос

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?

Это было полезно?

Решение

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.

Другие советы

Databse server may be down or there might be a proxy server which can prevent you to access the DB server.

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?

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top