Pergunta

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?

Foi útil?

Solução

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.

Outras dicas

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?

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top