MySQL Forums
Forum List  »  MySQL Query Browser

Re: Error 1045 while trying to establish the connection
Posted by: Luis Fernando Lopez
Date: October 30, 2006 10:58AM

HI, well I used to have the same problem, I have a db.properties file having this:

db.user=root
db.password=mypass

# MySQL Properties
db.product=mysql
db.version=3
db.jdbc-driver=com.mysql.jdbc.Driver
db.jdbc-jar=lib/mysql-connector-java-3.0.8-stable-bin.jar
db.jdbc-url=jdbc:mysql://localhost/quarrysb

I just replace localhost for 127.0.0.1 , note that i was using unix, no password or changes in the jdbc are needed.

Options: ReplyQuote


Subject
Written By
Posted
Re: Error 1045 while trying to establish the connection
October 30, 2006 10:58AM


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.