Skip navigation links

MySQL Forums :: Connector/JDBC and Java :: Troubles with accessing remote database


Advanced Search

Troubles with accessing remote database
Posted by: B V ()
Date: November 10, 2012 11:47AM

Hello,
I am trying to access my MySQL database from a remote client using Java with JDBC, but haven't been too successful yet. I am running Windows 7 on the server and Mac OSX Lion on the client. I read that I had to remove the binding address line in the my.cnf or the my.ini files, but I don't seem to have a my.cnf file, and my my.ini file has no such line. The next step in the tutorial(s) i saw for this was granting all privileges to my user on the client with the command line client, so I tried that and it said query ok. I tried connecting again from the remote machine, but the Java program I had just sat there and did nothing. What should I do?

Options: ReplyQuote


Subject Written By Posted
Troubles with accessing remote database B V 11/10/2012 11:47AM
Re: Troubles with accessing remote database Todd Farmer 11/21/2012 10:46AM


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.