The forums have permanently moved to This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.

Results 1 to 2 of 2

Thread: Connect to a remote mysql database server

  1. #1

    Connect to a remote mysql database server

    Hi guyz,

    I've been googling on this for 2 days already, but still can't figure it out. I want to connect to my remote database server hosted for my website using my local mysql command line client. I want to query records on my tables. Now, i did this:

    mysql> GRANT ALL ON mydb.* TO 'user'@'' IDENTIFIED BY 'password';
    Query was ok.

    Now, i don't really know if that's the first step. The next thing i did was to connect mysql to my host, i did this:

    c:\mysql\bin\mysql -u user -p -h
    I got this error:
    ERROR 1045 (2800): Access denied for user 'user'@'' (using password: Yes)

    Do i have to contact my hosting company with regards to this issue?

    Please help me on this. THank you. Sorry for my english.

    P.S. : The real thing about this is i'll be going to create a standalone application on my local computer doing queries from my remote database.

  2. #2
    You need to contact the host to ask if they allow remote access. If they do then you will probably need to whitelist your IP address. If they don't allow it then you can't

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Home About Meet the Moderators Advertise

 Link to Us


Copyright 1999 - 2012