Tag: CentOS6/MySQL8
yum list installed | grep mysql
yum remove mysql.x86_64 yum remove mysql-server.x86_64 yum remove mysql-libs.x86_64
# yum install -y yum-utils # yum install -y https://dev.mysql.com/get/mysql80-community-release-el6-3.noarch.rpm # yum repolist all | grep mysql # yum-config-manager --enable mysql80-community # yum install mysql-server # yum install mysql-devel
[mysqld] collation-server=utf8mb4_bin validate_password.policy=LOW
mysql> show variables like "%char%";
# service mysqld start
mysql -uroot -p<一時パスワード> mysql> ALTER USER 'root'@'localhost' identified BY 'hoge';
# service mysqld start # chkconfig mysqld on
mysql_secure_installation