This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem connecting to Mysql via connector/j

 
G�raud Gratacap
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well this problem is starting to get on my nerves . JBoss can't connect to mySQL, even if the password and username are corrects. Only "Connexion refused". Crap.
I even tried root without password. Connexion refused.
And I can access to mySQL by the terminal. If anyone has already seen this, please help me !

PS: I'm running on a debian SID
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you login regularly through the regular mysql client?
 
Qi Liang
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you modify the datasource in xml file?
There are a lot of tutorial teaching you how to make connection with MySQL!
 
Thomas Fischer
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had a similar problem (connection refused) yesterday...
It was caused by my firewall.
Modifying the firewall rule for "java" to allow connect to the mysql-port (default is 3306) solved it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic