grant all on *.* to 'admin'@'%' identified by '0' FLUSH PRIVILEGES; 创建管理员。远程登录mysql可能不成功,需要在本地用管理员登录mysql。Debian上通过。