Question
Lost Connection to MySQL server at 'reading initial communication packet' system error 0
Hello,
I have installed the OpenVPN server on the box and on the same box MySQL is hosted. Now if I try to connect to MySQL instance the following error appears.
“Lost Connection to MySQL server at ‘reading initial communication packet’ system error 0”
I have added the public IP of VPN in MySQL Access Host in WHM and cPanel nothing seems to work.
I did this because in Pakistan we have dynamic IPs so I would not let everyone try to hit the MySQL instance rather the access is given only to the VPN IP.
Thanks
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×