MySQL Forums
Forum List  »  General

Re: Can't connect to local DB using IP instead of localhost
Posted by: Peter Brawley
Date: May 15, 2014 12:18PM

Log in with the mysql client program, review and adjust the results of

select host,user, password from mysql.user;

so that there is a user who can log in with relevant permissions from all desired IP addresses.

Log out, and test that login with the mysql client (a) from this machine (b) from other machines that need to be able to login.

Then test the same login with jdbc.

Options: ReplyQuote




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.