Tag: CentOS7/MySQL
yum remove mariadb-libs
sudo rpm -Uvh http://dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpm
sudo yum install mysql-community-server
sudo systemctl start mysqld.service
sudo cat /var/log/mysqld.log | grep 'temporary password' # 初期パスワードを確認
mysql_secure_installation
UNINSTALL PLUGIN validate_password
mysqladmin -uroot -pDo_you_love_MySQL57? password
sudo systemctl restart mysqld