remote mysql connection

Discussion in 'Installation/Configuration' started by speedy, Aug 2, 2009.

  1. speedy

    speedy New Member

    Hi All,

    I'm strugeling with creating a mysql connection from my home pc to the external server.
    I can telnet to my server. on port 3306 So that is fine. (Also from the server itself I can connect to the datasebase with the user test)
    I have a user "test" (localhost, and *). Without a password for testing purposes.
    But when I try to login I keep getting this error:

    C:\Users\Tom>mysql -u test (IP)
    ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)

    I hope you can help me.

    Thanks
     
  2. falko

    falko Super Moderator Howtoforge Staff

    You must specify the host:
    Code:
    mysql -u test [B][COLOR="Red"]-h <hostname>[/COLOR][/B]
     

Share This Page