I can't access mysql databases from servlets, using mmjdbc. When a servlet tries to execute:
Connection conn = DriverManager.getConnection( "jdbc:mysql://archive.infn.it/work?user=...&password=..."); it always gets this exception: java.sql.SQLException: Cannot connect to MySQL server on archive.infn.it:3306. Is there a MySQL server running on the machine/port you are trying to connect to? (java.security.AccessControlException)' Note that the same code executes without problems in an application (not a servlet) on the same machine, so it is not a problem of access privileges on the mysql server. Does somebody know the problem ? Luigi Fonti --------------------------------------------------------------------- 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