By ricmel111 on
Hi,
I have set up a Drupal site with database.
I have now moved all the drupal files to another host, but want to keep sql database on current host.
I keep getting this error:
Failed to connect to your database server. The server reports the following message: SQLSTATE[HY000] [2005] Unknown MySQL server host 'myhostname' (3).
All I have changed is the settings file from localhost to the new host name. I have checked with the database host that everything is correct.
Any ideas why this still isn't working.
Thanks
Comments
Server host would need to be
Server host would need to be the correct url for mysql on the original host (where you have kept the database). It is also possible that the original host does not allow remote connections to mysql.