http://my.oschina.net/mynote/blog/171219 html
http://www.cnblogs.com/kgdxpr/p/3209009.html mysql
[mariabd]
name=MariaDB
baseurl=http://yum.mariadb.org/5.5.33a/centos6-amd64/
gpgkey=http://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1 sql
保存退出 centos
yum install -y MariaDB-server MariaDB-client url
安裝完後啓動服務 .net
service mysql start rest
設置root用戶密碼 server
mysqladmin -u root password '123456' htm
設置遠程登陸 blog
mysql -uroot -p123456
GRANT ALL PRIVILEGES ON *.* TO root@"%" IDENTIFIED BY "123456";
flush privileges;
配置大小寫不敏感
vi /etc/my.cnf.d/server.cnf
在[mysqld]下添加
lower_case_table_names=1
重啓服務
service mysql restart
配置iptables或直接關閉iptables
chkconfig iptables off
service iptables stop