Hi
even we had the same problem a few days back and here is what we did
1. Check whether u have appropriate permissions to access the mysql database..
u can do that by querying the user table in the mysql database.. Do a flush
privileges after u change any permissions
2. Also check out whether u have also created permission with the fully qualified
domain name
e.g if u ip address is 15.4.3.2 and ur FQDN is myserver.foo.com check out
whether the same user has been entered both for ur ip address and ur domain name
3. A similar problem in some mailing list suggested to check out the socket
connections being made
u can do this by doing a strace -e connect java <a sample application>
The strace output can tell u what is happening.. sorry i dont understand
strace but some one else on this list can definitly help u out..
Hope this helps
Anand
Yesterday A mailing list about Java Server Pages specification and ...
> I use apache tomcat mysql and mm to build my web-site.
> But when i use org.gjt.mm.mysql.Driver to access data from mysql ,i get such error:
> java.sql.SQLException: Server configuration denies access to data source
>
> Pls help me,thanks.
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets