killall mysqld
rm -rf /var/lib/mysql
apt-get remove --purge mysql-server mysql-client mysql-common
apt-get autoremove
apt-get autoclean
apt-get install mysql-server mysql-client
emacs /etc/mysql/mysql.conf.d/mysqld.cnf
bind-address = 0.0.0.0
mysql -u root -pxxxxx
RENAME USER 'root'@'localhost' TO 'root'@'%';
FLUSH PRIVILEGES;
service mysql restart
my.ini
max_allowed_packet = 16M
sort_buffer_size = 256K
mysqladmin -u root password "new password"