dbTalk Databases Forums  

Re: localhost connection refused (none of the usual causes, I

mailing.database.mysql-java mailing.database.mysql-java


Discuss Re: localhost connection refused (none of the usual causes, I in the mailing.database.mysql-java forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Thomas Plümpe
 
Posts: n/a

Default Re: localhost connection refused (none of the usual causes, I - 10-31-2004 , 11:33 AM






On Sun, 2004-10-31 at 16:52, Rikard Froberg wrote:
Quote:
Thomas Plümpe wrote:
[snip]


Now I have setup the MySQL accounts on my newly installed SuSE server
(MySQL 4.0.18, Connector/J 3.0.15-ga) just as I did on the other
machines [2], but I am unable to connect (stack trace [3]) with the
above URL.


[snip]

[2] ------------------------------------------------------------
GRANT ALL ON networking.* TO network_User@'myserver.mydomain'
IDENTIFIED BY 'XXX';
GRANT ALL ON networking.* TO network_User@'localhost'
IDENTIFIED BY 'XXX';


Thomas,
Did you do this:
FLUSH PRIVELEGES
After granting access to you new machine?
I haven't directly fiddled with the mysql database and I think a GRANT
does a flush automatically. But I have also tried flushing privileges
and restarting the mysql server, none of that helped.


--
MySQL Java Mailing List
For list archives: http://lists.mysql.com/java
To unsubscribe: http://lists.mysql.com/java?unsub=my...ie.nctu.edu.tw



Reply With Quote
  #2  
Old   
Thomas Plümpe
 
Posts: n/a

Default Re: localhost connection refused (none of the usual causes, I - 11-02-2004 , 03:58 AM






Quote:
Does this happen to be SuSE 9.2?
Close, it's 9.1-x86_64.

Quote:
If so, it's probably related to this bug:

http://bugs.mysql.com/?id=6348
Both Jon's suggestion (using 127.0.0.1 instead of localhost) and the
removal of localhost from /etc/host's ::1 line as pointed out in the bug
report resolve the problem.

Thanks a lot,
Thomas



--
MySQL Java Mailing List
For list archives: http://lists.mysql.com/java
To unsubscribe: http://lists.mysql.com/java?unsub=my...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.