» Quick Links
You can make money on these forums
We Share profits with you
Google
Google Adsense
Google Adwords
YPN
Yahoo
MSN Search
Web Directories
Web Hosting
Web Hosting Offers
Hosting News
Suggestions
Link Building
Domain Names
PHP Forums
MySQL Forums
» More Links
OSP News
Reseller Hosting
Shared Hosting
Dedicated Servers
Google Adsense
Search Engine Marketing
Link Development
Affiliate Marketing


» Advertising
Multiple DC PR Check

Free SEO Tools


Go Back   Webmaster Forums > Website Developement / Programming > MySQL Forums

MySQL Forums Share Your Ideas and Tips about MYSQL. Ask questions about MYSQL. Table Design and Much More...

Reply
 
Thread Tools Display Modes
  #1  
Old 12-13-2006, 04:35 AM
parul parul is offline
Junior Member
 
Join Date: Aug 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
parul is on a distinguished road
Default ....port3306 ??

Hello all of you,
I installed MySQL-4.1.13 on a Sun Solaris 5.8 machine by using package. But the port 3306 is not working. When I run netstat -a | grep 3306, there is no such port listening. But when I run netstat -an | grep 3306, it appears.

There was no my.cnf configuration file on the entire machine. So, copied my-large.cnf file as my.cnf to /etc from /usr/local/share/mysql. The files that appear in /usr/local/share/mysql are:

my-huge.cnf
my-innodb-heavy-4G.cnf
my-large.cnf
my-medium.cnf
my-small.cnf

Changing the port in my.cnf to 3307, it appears as listening when I run
netstat -a | grep 3307. But changing back to 3306 there is no port listening.
It cause a problem when we try to connect from other machines by using the following:
telnet <ip-address> 3306
Can somebody help to fix this problem? -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Revenue Sharing Ads ( ?):
  #2  
Old 12-13-2006, 04:39 AM
evy evy is offline
Senior Member
 
Join Date: Oct 2006
Posts: 111
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 16
evy is on a distinguished road
Default

The -n option of netstat displays open ports by their numeric assignments rather than their human readable alias. Make sure that mysqld is using the correct my.cnf file. In my.cnf, check the port to use configured under the mysqld section and make sure of not having the skip-networking variable enabled. 3306 should not be firewalled. -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
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
Forum Jump


All times are GMT. The time now is 12:17 PM.