yum

yum clean all
yum makecache

# 安装
yum install -y mysql-devel mysql-server
or
yum install -y mariadb mariadb-devel mariadb-server

configure

mysql

# 确保本地可以登录,访问所有database
grant all privileges on *.* to ops@'localhost' identified by 'yourpassword'

# 确保远程可以登录,访问所有database
grant all privileges on *.* to ops@'%' identified by 'yourpassword'

# 
flush privileges
Copyright © opschina.org 2017 with zzlyzq@gmail.com all right reserved,powered by Gitbook该文件修订时间: 2017-10-08 19:00:10

results matching ""

    No results matching ""