You need to create the user and grant permissions try (username=teva):
INSERT INTO user (Host,User,Password) VALUES ('%', 'teva',
PASSWORD('your_password'));
and finally add access to the database
INSERT INTO db (Host,Db,User)
VALUES('%','NameOfDatabase','teva');
Hope this helps,
- Original Message -
From: Rodolfo Ricci [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, June 01, 2003 6:32 PM
Subject: Server configuration denies access to data source
I'm trying to use mysql with java, I create a short
piece of code to make a conection but when the class
run it sends an exception:
Server configuration denies access to data source
I can use the database using mysql client without
problem.
Could someone help me, or ask me where i find the
listins from this mailing list? I guess this kind of
error was reported before.
thanks...
Rodolfo Ricci
___
Yahoo! Mail
Mais espaço, mais segurança e gratuito: caixa postal de 6MB, antivírus,
proteção contra spam.
http://br.mail.yahoo.com/
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]