Cannot connect to MySQL server on 137.111.111.111:3306. Is there a MySQL
server running on the machine/port you are trying to connect to?
(java.security.AccessControlException)
SecurityManager allows connections only to the machine from which you
downloaded applet. If your database and your webserver is on the same
machine but it have 2 or more IPs then both webserver and mysql
have to listen on the same physical IP address or listen on 0.0.0.0.
thus you can't connect to remote server which IP is different then IP of
the webserver you downloaded the applet from.
Best regards,