File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Linux - Apache - MySQL Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JDBC
Reply Bookmark "Linux - Apache - MySQL" Watch "Linux - Apache - MySQL" New topic
Author

Linux - Apache - MySQL

Gregg Bolinger
Sheriff

Joined: Jul 11, 2001
Posts: 15040

I am accessing a database using Apache as my web server through an applet on a Linux system and I am getting the following error when trying to establish a connection to the database:

Does anyone know what part of the Apache Server configuration blocks this access.
When I access a MySQL database on a Win2K advanced Server system, it works great. Although I am not using Apache on the Windows Machine.
Thanks


My Blog | DZone Articles
martin samm
Ranch Hand

Joined: Nov 09, 2000
Posts: 31
i'm not an expert at Applet to database comms, but is the connection from the applet trying to use mysql's standard port which could be blocked (default is 3306)


martin samm<BR>m_sam@rroom.net
Gregg Bolinger
Sheriff

Joined: Jul 11, 2001
Posts: 15040

That is a possibility. Now, how do I find that out, and free the port? If anyone knows, that would be great.
Gregg Bolinger
Sheriff

Joined: Jul 11, 2001
Posts: 15040

Well, I was able to free port 3306 using iptable commands, however, this did not solve my problem. I believe that Apache is actually blocking access somehow. If anyone has any experience with these, I would appreciate any help.
Or maybe this belongs in a different forum??
Thanks
Gregg Bolinger
Sheriff

Joined: Jul 11, 2001
Posts: 15040

Could a moderator please move this to Apache/Tomcat thread? I may have better luck there and do not want to repost.
Thanks
 
 
subject: Linux - Apache - MySQL
 
Threads others viewed
mysql
Error from MySql
[Installation] Mistake on Jforum Install task
Strange JDBC-MySQL connection error
MySQL error during config
developer file tools