007_mysql配置 - llj2kh/studynote GitHub Wiki

mysql 服务配置


1 安装

  • yum install mysql mysql-server -y
    mysql : 客户端
    mysql-server : 服务端

2 设置远程登录

  • 运行以下命令:
update user set host='%' where user='root' and host='localhost';  
flush privileges;