MySQL Forums
Forum List  »  Newbie

Re: MySQL remote access
Posted by: Rick James
Date: July 20, 2014 11:27PM

The only difference in the client code (for local connection versus remote) is the connection string (or parameters, etc). I don't know the details for your language, but it must include the hostname and/or IP address of the server.

Also, the MySQL server must have a GRANT to allow your client to connect and access the desired database(s).

Yes, people (on this and other forums) do stumble over those two items. But once you get it 'right', it looks pretty simple.

Options: ReplyQuote


Subject
Written By
Posted
July 19, 2014 03:20AM
July 20, 2014 05:16AM
July 20, 2014 09:09AM
July 22, 2014 02:13AM
July 22, 2014 11:15AM
July 22, 2014 09:23AM
July 23, 2014 04:05AM
July 20, 2014 11:49AM
July 20, 2014 10:42PM
Re: MySQL remote access
July 20, 2014 11:27PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.