摘要:
在/usr/share/mysql下找到my-huge.cnf my-arge.cnf my-edium.cnf my-mall.cnf文件cp my-*.cnf /etcvi /etc/my-*.cnf修改默认字条集:在[client]default-character-set=utf8在[mysqld]character-set-server=utflower_case_table_names=1datadir=/opt/mysql关闭selinuxvi /etc/selinux/configSELINUX=disabled最后授权chown -R mysql:mysql /opt/mys 阅读全文