Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem Connecting to MySQL Database

 
Vani Prabakaran
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have an applet that connects to the MySQL database to validate the user. The database is in a PC that has the web server. In other words, the applet and the database are in the same PC (say PC1).
1. Appletviewer works fine.
2. When I access the database from a pc's browser that has the network connection to PC1, it works fine. No problems.
3. When I try to connect to the database from a pc's browser that doen't have any connection to PC1, I am getting "Cannot connect to MySQL server on ......:3306. Is there a MySQL server running on the machine/port you are trying to connect?"
The applet is signed by Thawte. The applet and the database are from the same machine. Is there anything I am missing?
Any help would be appreciated.
Thanks
Vani
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic