Forum Problems Installing LAMS: Re: Re: Re: problems with building LAMS from source


 
Search: 

6: Re: Re: Re: problems with building LAMS from source
In response to 4 07/15/09 06:43 PM
[ Reply | Forward ]
You can make sure that it's running by doing netstat -an | grep 3306, and seeing if anything is listening on that port.

'Connection refused' in the error might also mean a firewall - could that be the problem?

Posted by Jun-Dir Liew

7: Re: Re: Re: Re: problems with building LAMS from source
In response to 6 07/18/09 03:34 AM
[ Reply | Forward ]
netstat -an | grep 3306 does not give any output, however in all the four files in /etc/ - my-huge.cnf, my-large.cnf, my-medium.cnf, my-small.cnf - i can see port = 3306 in the "[mysqld]" section. ( i am not sure which one of the four is exactly to be referred... if somebody can point it out...)

Additionally netstat -an | grep -i sql, i get the following output:

-----------
bash-3.1$ netstat -an | grep -i sql
unix 2 [ ACC ] STREAM LISTENING 8469 /var/run/mysql/mysql.sock
-----------

Posted by Navin Jathan

Reply to first post on this page
Back to Problems Installing LAMS