yum install mysql-server mysql vi /etc/my.cnf [client] default-character-set=utf8 service mysqld start chkconfig mysqld on mysql grant all privileges on *.* to root@'localhost' identified by 'root'; flush privileges;
yum install mysql-server mysql vi /etc/my.cnf [client] default-character-set=utf8 service mysqld start chkconfig mysqld on mysql grant all privileges on *.* to root@'localhost' identified by 'root'; flush privileges;
转载于:https://www.cnblogs.com/lb477/p/10811112.html