Go Back   Cloud Computing > Support > MySQL Issues.
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 10-31-11, 05:23
BOD Member
 
Join Date: Jan 2011
Posts: 182
Default Unable mysql 3306 port

I need mysql 3306 port but it is disable in my server. How can I unable that?
Reply With Quote
  #2 (permalink)  
Old 10-31-11, 06:03
Moderator
 
Join Date: Nov 2010
Posts: 476
Default

you have to follow the following steps :

Quote:
root@server[#] vi /etc/csf/csf.conf

seach the line :

# Allow incoming TCP ports
TCP_IN = "20,21,22,25,26,53,80,110,143,443,465,587,993, 995, 2077,2078,2082,2083,2086,2087,2095,2096,28900,2896 0,28970,28860,49030,3333"

and add the port no in this line.
# Allow incoming TCP ports
TCP_IN = "20,21,22,25,26,53,80,110,143,443,465,587,993, 995, 2077,2078,2082,2083,2086,2087,2095,2096,28900,2896 0,28970,28860,49030,3333,3306"
Reply With Quote
  #3 (permalink)  
Old 10-31-11, 06:16
BOD Member
 
Join Date: Dec 2010
Posts: 227
Default

If you don't have csf firewall on your server then you can also open the mysql port 3306 through iptables by utilizing the following iptables rule.
Quote:
iptables -A INPUT -p tcp --dport 3306 -j ACCEPT
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 00:55.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.