Recently it became necessary to expose a MySQL instance to some customers across the internet. The MySQL daemon had previously been locked down using the my.cnf skip-networking directive. I removed this the MySQL configuration file and restarted the daemon. Sockstat showed MySQL was now listening but when I attempted to connect from a remote site I received this cryptic error message:
代碼: 選擇全部
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0
代碼: 選擇全部
mysqld : ALL : allow