Tag: CentOS6/MySQL8
yum list installed | grep mysql
yum remove mysql.x86_64 mysql-libs.x86_64 compat-mysql51.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 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
[ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist