以下是Debian系统MySQL安全设置指南:
/etc/mysql/my.cnf
bind-address
127.0.0.1
local-infile=0
DELETE FROM mysql.user WHERE User=''; FLUSH PRIVILEGES;
mysql_secure_installation
skip-networking