abhinav90
December 11th, 2008, 07:17 PM
I have been trying to remotely connect to my mysql-server hosted on ubuntu but all i get is a long wait after trying to connect,
i found a reason why mysql-server on ubuntu stalls my connection. When i try to remotely try to connect to my server using mysql -u on my desktop after requesting password it keeps waiting forever,
When i checked out my server and typed netstat -tap | grep mysql i first get:
(No info could be read for "-p": geteuid()=1000 but you should be root.)
tcp 0 0 173-45-231-96.sli:mysql *:* LISTEN -
tcp 0 0 173-45-231-96.sli:mysql 59.183.1.24:50296 ESTABLISHED
but then it becomes
(No info could be read for "-p": geteuid()=1000 but you should be root.)
tcp 0 0 173-45-231-96.sli:mysql *:* LISTEN -
tcp 0 66 173-45-231-96.sli:mysql 59.183.1.24:50046 FIN_WAIT1 -
i think the FIN_WAIT1 is the problem but dont know how to fix this socket problem. What should i do? ? Any input would be appreciated.
i found a reason why mysql-server on ubuntu stalls my connection. When i try to remotely try to connect to my server using mysql -u on my desktop after requesting password it keeps waiting forever,
When i checked out my server and typed netstat -tap | grep mysql i first get:
(No info could be read for "-p": geteuid()=1000 but you should be root.)
tcp 0 0 173-45-231-96.sli:mysql *:* LISTEN -
tcp 0 0 173-45-231-96.sli:mysql 59.183.1.24:50296 ESTABLISHED
but then it becomes
(No info could be read for "-p": geteuid()=1000 but you should be root.)
tcp 0 0 173-45-231-96.sli:mysql *:* LISTEN -
tcp 0 66 173-45-231-96.sli:mysql 59.183.1.24:50046 FIN_WAIT1 -
i think the FIN_WAIT1 is the problem but dont know how to fix this socket problem. What should i do? ? Any input would be appreciated.