HI,
I am trying to connect to MySQL using java. I have placed mm.mysql drivers in "jakarta-tomcat/lib" folder. but whenever i try to connect to mysql, i receive this error:

Cannot connect to MySQL server on . Is there a MySQL server running on the machine/port you are trying to connect to? (java.security.AccessControlException)


please note that i can connect to mysql using telnet and php script.

Please help me to overcome this error.

Farhan


---------------------------------------------------------------------
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

Reply via email to