When I try to telnet into my localhost port 3306 which belongs to mysql, it shows me the hello packet, then looses connection after a few seconds. My skip networking is set to OFF, I have started and restarted the server several time, uses netstat -na to check if the port is actually listening, and i get 0.0.0.0:3306 Listening.
What exactly could be the problem ?
Answer
I tried this on multiple servers and this seems to be normal behavior.
I also believe that telnet is used for debugging and not a mysql client. Just install mysql(client) to make a stable connection and use telnet just to check if the server responds to your request on a certain port.
Attribution
Source : Link , Question Author : Nazario_Jnr , Answer Author : Metalmini