Hey I’m kinda new to mysql and applets.
I’m trying to make a simple applet for reading/writing to a mysql database but it just won’t connect. I do the same thing from a normal java application and it works allright.
(fictional user and pword )
gives the exception:
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
Caused by: java.security.AccessControlException: access denied (java.net.SocketPermission mysql.madhamster.net resolve)
Is the problem the adress? and can anyone point out what the adress have to be inorder to connect to the database?
Is the problem one of those limitations in applets?