This is my problem.

I use JDBC and I'm connect my code with my table.
If i use database test, it' ok but if i use another db (ex : link ) i 've an error :

SQLException: General error: Access denied for user: '@localhost' to database 'mysql'
SQLState:     S1000
VendorError:  1044
java.lang.NullPointerException
 at conectiondb.ConnectionDB.<init>(ConnectionDB.java:39)
 at conectiondb.Application1.main(Application1.java:11)
Exception in thread "main"  

Thanks for your assistance.

Reply via email to