Muhammad Farhan wrote:
HI,It doesn't look like MySQL issue (JDBC issue neither). Are you sure the security exception is thrown from JDBC driver? Plus, the error message suggests that you're specifying invalid connection parameters or are blocked eg. by firewall or some other security manager.
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)
Max
---------------------------------------------------------------------
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