yum remove mysql mysql-server
----------------------
#copy new mysql file.
------------------
rpm -ivh --force --nodeps MariaDB-5.5.57-centos6-x86_64*
mysql_secure_installation
service mysql restart
mysql -u root -p
---------------------
#password blank
---------------------
grant all privileges on *.* to 'sa'@'%' identified by '123456' with grant option;
flush privileges;
\q
---------------------
service mysql restart
mysql -u root -p
---------------------
mysql_upgrade
service mysql restart
ไม่มีความคิดเห็น:
แสดงความคิดเห็น