MySQL常见问题汇总

乱码问题.

查询前先: set names utf8


创建用户并授权.

create user dev@'10.%' IDENTIFIED BY 'devops';
grant all on somedb.* to 'dev'@'10.%';