标签:pre sys 配置 set ons sql mariadb start centos7
参考:
yum install mariadb mariadb-server systemctl status mariadb.service systemctl enable mariadb.service systemctl start mariadb.service mysql_secure_installation mysql -uroot -p MariaDB> show variables like ‘collation_%‘; MariaDB> show variables like ‘character_set_%‘; MariaDB> set collation_database=‘utf8_general_ci‘; MariaDB> set collation_server=‘utf8_general_ci‘; MariaDB> show variables like ‘collation_%‘; MariaDB> show variables like ‘character_set_%‘; MariaDB> CREATE DATABASE IF NOT EXISTS yourdbname DEFAULT CHARSET utf8 COLLATE utf8_general_ci;
标签:pre sys 配置 set ons sql mariadb start centos7
原文地址:http://www.cnblogs.com/flowjacky/p/6031378.html