当前位置:Gxlcms > 数据库问题 > centos7 变更默认mariadb 记录

centos7 变更默认mariadb 记录

时间:2021-07-01 10:21:17 帮助过:4人阅读

yum -y localinstall mysql57-community-release-el7-11.noarch.rpm 

yum -y install mysql-community-server

 systemctl start mysqld

systemctl enable mysqld

 systemctl daemon-reload

grep temp /var/log/mysqld.log

mysql> ALTER USER ‘root‘@‘localhost‘ IDENTIFIED BY ‘xxxx‘;

 

[mysqld]

character_set_server=utf8

init_connect=‘SET NAMES utf8‘

centos7 变更默认mariadb 记录

标签:arch   class   serve   names   host   init   span   arc   system   

人气教程排行