Tag: CentOS6/MySQL8
# yum install -y yum-util # 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