viernes, 6 de noviembre de 2015

Disabling remote conection to MYSQL

add  this line skip-external-locking to the  mysqld configuration on /etc/mysql/my.cnf and comment
#bind-address           = 0.0.0.0


[mysqld]
#
# * Basic Settings
#
user            = mysql
pid-file        = /var/run/mysqld/mysqld.pid
socket          = /var/run/mysqld/mysqld.sock
port            = 3306
basedir         = /usr
datadir         = /var/lib/mysql
tmpdir          = /tmp
lc-messages-dir = /usr/share/mysql
skip-external-locking


#bind-address           = 0.0.0.0


then restart mysql  :  /etc/init.d/mysql restart

No hay comentarios:

Publicar un comentario