aspose file tools*
The moose likes JDBC and the fly likes Problem Connecting to MySQL Database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Problem Connecting to MySQL Database" Watch "Problem Connecting to MySQL Database" New topic
Author

Problem Connecting to MySQL Database

Vani Prabakaran
Greenhorn

Joined: Jun 08, 2000
Posts: 13
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem Connecting to MySQL Database