The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Security
.
google unix.com



Security Discuss UNIX and Linux computer and network security, cybersecurity, cyberattacks, IT security, CISSP, OWASP and more.

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 04:38 AM
Serial Port Connection to a Sunfire V880 (having Solaris 10) Alchemist SUN Solaris 0 04-01-2008 02:12 AM
Cloning a socket connection, using other port numbers jonas.gabriel High Level Programming 4 12-10-2007 04:10 PM
How to check the TCP/UDP port of a connection tayyabq8 UNIX for Dummies Questions & Answers 2 05-18-2006 12:55 AM
Could not open SCM connection kristian UNIX for Dummies Questions & Answers 1 04-08-2002 05:11 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-12-2002
gdboling gdboling is offline
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.
  #2 (permalink)  
Old 04-12-2002
PxT's Avatar
PxT PxT is offline Forum Advisor  
Registered User
  
 

Join Date: Oct 2000
Location: Sacramento, CA
Posts: 909
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/
  #3 (permalink)  
Old 04-21-2002
dimanise dimanise is offline
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?
  #4 (permalink)  
Old 04-22-2002
gdboling gdboling is offline
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.
  #5 (permalink)  
Old 04-22-2002
dimanise dimanise is offline
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
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:56 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0