0

I want to connect my localhost to remote server mysql5.domain.com

Connect Error (2003)Can't connect to MySQL server on 'mysql5.domain.de' (10061)

define('HOST', "mysql5.domain.de");

define('DB', "x");

define('USER', "y");

define('PASSWORD', "pw");

Thanks a lot!

  • I tried http://mysql5.domain.de and https://mysql5.domain.com. –  May 07 '18 at 08:57
  • is there a mysql server running in mysql5.domain.de? – Héctor May 07 '18 at 08:57
  • Yes, there is a mysql server running on. –  May 07 '18 at 09:02
  • Don't share your password with the whole world! Also, please show us how you tried to connect to MySQL, here we can see only the values to be used. – Lajos Arpad May 07 '18 at 09:02
  • If you're sure there is an mysql server on that domain, and the port is open to yours, try connect to it in command line; if it failed, it means the server is down – Alex.Fu May 07 '18 at 09:06
  • @Alex.Fu it might also mean that there is no privilege. – Lajos Arpad May 07 '18 at 09:15
  • Needed to create ssh tunnel because domainfactory has an exta tool https://www.df.eu/de/support/df-faq/webhosting/webspace-zugriff/ssh/#acc5877 –  May 07 '18 at 10:11
  • 1
    @Lajos Arpad, sure it may be that, thanks for reminding. – Alex.Fu May 08 '18 at 09:31

0 Answers0