November 13th, 2000, 09:24 AM
I have the following trouble:
I try acces to mysql with jdbc and the server give me
SQLException: Server configuration denies access to data source
If I change change the field Host in user table (mysql
database) to '%' the conection work but I have a security hole.
The following line is the line in my java file
Connection C = DriverManager.getConnection(
I greet some help about this.
November 14th, 2000, 04:28 AM
Just one thing.
After you change the host to "%", did you perform "flush privileges" as well, or else the user account would not update until you do so.
November 14th, 2000, 05:40 AM
What did you have in the Host column before?
use either localhost, or the name/ip address of the server where this script is running.
then flush privileges;