aspose file tools*
The moose likes JDBC and the fly likes Linux - Apache - MySQL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Linux - Apache - MySQL" Watch "Linux - Apache - MySQL" New topic
Author

Linux - Apache - MySQL

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15286
    
    6

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


GenRocket - A Test Data Generation Platform
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
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15286
    
    6

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

Joined: Jul 11, 2001
Posts: 15286
    
    6

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
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15286
    
    6

Could a moderator please move this to Apache/Tomcat thread? I may have better luck there and do not want to repost.
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Linux - Apache - MySQL
 
Similar Threads
mysql
Error from MySql
MySQL error during config
[Installation] Mistake on Jforum Install task
Strange JDBC-MySQL connection error