aspose file tools*
The moose likes Applets and the fly likes Applets + JDBC + MySQL = access denied Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Applets + JDBC + MySQL = access denied" Watch "Applets + JDBC + MySQL = access denied" New topic
Author

Applets + JDBC + MySQL = access denied

Lucas Mello
Greenhorn

Joined: Jul 25, 2009
Posts: 1
Hello all.

I'm getting the following error when trying to run my applet:



The code is:



I spent some hours googling stuff, but it was useless.
I think that the problem may be that the database server is different from the page server.
I also came with results about signing applets. Will signing my applet help?
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18911
    
    8

Lucas Mello wrote:I think that the problem may be that the database server is different from the page server.
I also came with results about signing applets. Will signing my applet help?


If that's true (about the servers) then yes, signing the applet should help.
VineetK Singh
Ranch Hand

Joined: Jun 02, 2009
Posts: 47
Lucas

You need to sign your applet. Either self sign it or obtain a certificate from authorized agency like Verisign.


Copy Paste is a design error!!
 
Don't get me started about those stupid light bulbs.
 
subject: Applets + JDBC + MySQL = access denied