Permitir conexión remota a servidor MySQL

Debemos editar el archivo /etc/mysql/my.cnf y comentar la línea:

bind-address 127.0.0.1

dejándola como

# bind-address 127.0.0.1

Una vez hecho esto, reiniciamos el servicio:

$ sudo /etc/init.d/mysqld restart

y ya podemos probar que tenemos conexión desde el cliente, de este modo:

$ telnet <servidor> 3306
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License