yum install -y MysqL-server MysqL MysqL-deve service MysqLd start chkconfig MysqLd on MysqLadmin -u root password ''
接下来要创号给远程用!
GRANT ALL ON *.* TO'myuser'@'%'IDENTIFIED BY 'mypassword';
flush privileges;
原文链接:https://www.f2er.com/centos/381341.html