This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes jdbc connection problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "jdbc connection problem" Watch "jdbc connection problem" New topic
Author

jdbc connection problem

Sean Casey
Ranch Hand

Joined: Dec 16, 2000
Posts: 625
Hi,
I'm having trouble connecting to my mysql server through the NetBeans3.4 Database Explorer and Squirrel SQL client. Both apps use the jdbc to connect. I'm getting an invalid authorization exception: access denied for user "username@localhost.localdomain" using password=yes.
the url I'm using is as follows:
jdbc:mysql://localhost:3306/weblogdb
I Granted the user all the necessary permissions, and I can connect to the database using the mysql client. I suspect it's something in the syntax. Thanks for any help.
Sean Casey
Ranch Hand

Joined: Dec 16, 2000
Posts: 625
I figured it out. I had a malformed url.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: jdbc connection problem
 
It's not a secret anymore!