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.