List:MySQL and Java« Previous Message
From:Ilya Kazakevich Date:July 15 2010 3:47pm
Subject:RE: Database with Java connection.
View as plain text  
Hello, 

I have never used netbeans, but looks like your driver is not in your
classpath. Try to download it from MySQL website and put it in your project
classpath.
Check netbeans documentation for instructions  to add some .jar to your
classpath. 

Ilya Kazakevich,
Developer
JetBrains Inc
http://www.jetbrains.com
"Develop with pleasure!"



-----Original Message-----
From: Antonio Paulo [mailto:antonio.paulo@stripped] 
Sent: Thursday, July 15, 2010 5:14 PM
To: java@stripped
Subject: Database with Java connection. 

I'm trying to connect to my MySql database using the class
ConnectionFactory(attached).Unfortunatelly i have been no sucess  on it.
For your information i have used the Netbeans 6.8  IDE.  The Connector/J
driver  belongs to it. Attached the above mentioned class and the error
messages i received.
Thanks a lot.

Antonio Paulo.

Thread
Database with Java connection. Antonio Paulo15 Jul 2010
  • RE: Database with Java connection. Ilya Kazakevich15 Jul 2010