This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applets + JDBC + MySQL = access denied

 
Lucas Mello
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Pie
Posts: 20758
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lucas

You need to sign your applet. Either self sign it or obtain a certificate from authorized agency like Verisign.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic