2015年(3)
分类: Mysql/postgreSQL
2015-04-14 15:39:44
rpm -qa | grep mysql rpm -qa | grep mariadb
rpm -e mysql-4.1
rpm -ev mysql-4.1
rpm -e --nodeps mysql-4.1
此过程务必要清理干净,否则容易引起冲突,导致安装失败
3、安装percona
yum install Percona-Server-client-56 Percona-Server-server-56
4、启动percona
service mysql start
5、设置初始密码
mysql_secure_installation
6、查看和更改字符集
mysql>SET character_set_client = utf8;
SET character_set_results = utf8;
SET character_set_connection = utf8;