The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Security
Google UNIX.COM


Security Anything involving computer security goes here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to open a port in AIX sanju_d1231 AIX 2 05-07-2008 01:38 AM
Serial Port Connection to a Sunfire V880 (having Solaris 10) Alchemist SUN Solaris 0 03-31-2008 11:12 PM
Cloning a socket connection, using other port numbers jonas.gabriel High Level Programming 4 12-10-2007 12:10 PM
How to check the TCP/UDP port of a connection tayyabq8 UNIX for Dummies Questions & Answers 2 05-17-2006 09:55 PM
Could not open SCM connection kristian UNIX for Dummies Questions & Answers 1 04-08-2002 02:11 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-12-2002
Registered User
 

Join Date: Oct 2001
Location: Kansas
Posts: 18
Open Port 3306 for MySQL connection

I am needing to "un-block" port 3306 so that I can access MySQL from another PC.

When I installed Mandrake 8.1, I set the security level to high because it is going to be a web server. I believe I have to allow access to my ports now and I do not know the commands to do that.

If anyone could show me an example, that would be great.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 04-12-2002
PxT's Avatar
PxT PxT is offline
Registered User
 

Join Date: Oct 2000
Location: Sacramento, CA
Posts: 905
If you are using iptables you would do something like:

iptables -A INPUT -p tcp -m tcp --dport 3306 -j ACCEPT


Put it into your firewall config file. Not sure on the mandrake specifics. On redhat it is in /etc/sysconfig/
Reply With Quote
  #3 (permalink)  
Old 04-21-2002
Registered User
 

Join Date: Jul 2001
Location: Tor, Can
Posts: 10
It might also be ipchains, and not iptables. Not sure though which one is by default on Mandrake.

You should read an IPCHAINS-HOWTO on www.linuxdocs.org, it's very easy and fast to learn.

Also can you access your webserver right now? or you just can't get your mysql server?
Reply With Quote
  #4 (permalink)  
Old 04-22-2002
Registered User
 

Join Date: Oct 2001
Location: Kansas
Posts: 18
I can access my webserver just fine. It's just accessing the database through an applet is not working. And I think it has something more to do with Apache and less to do with Linux.
Reply With Quote
  #5 (permalink)  
Old 04-22-2002
Registered User
 

Join Date: Jul 2001
Location: Tor, Can
Posts: 10
It could be that you don't have the correct permissions or something of that sort in either apache or mysql server, check their READMEs or check out their sites for the problems you are having.

Personally I'm just learning the mysql administration and going to use it with PHP, so I don't think there's anything I could help with at this moment.

Cheers
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:27 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0