Hello,
I am having an error while trying to connect through JDBC to mysql using
the "mm.mysql-2.0.2-bin.jar" driver. The error occurs whether I run my Java
program locally or remotely.
SQLException: Server configuration denies access to data source
SQLState: 08001
VendorError: 0
java.lang.NullPointerException
at MySql.init(MySql.java:43)
at MySql.main(MySql.java:13)
Exception in thread "main" Process Exit...
The version of the database is:
mysql Ver 11.11 Distrib 3.23.31, for pc-linux-gnu (i686)
The users table is as follows:
+------+------------------+---------+
| User | Password | Host |
+------+------------------+---------+
| root | 066d439558d95532 | % |
| root | 066d439558d95532 | server1 |
+------+------------------+---------+
If I run the same java program, with the same JDBC driver, but accessing a
database that is installed on a Windows machine:
mysql Ver 11.9 Distrib 3.23.29a-gamma, for Win95/Win98 (i32)
everything works fine. The user's tables are equal in both installations.
Can any one help me, please. Thank you in advance,
Victor Batista
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php