GRANT ALL PRIVILEGES ON *.* TO 'username'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION; 所有数据库所有表
GRANT ALL PRIVILEGES ON xinchuanbo.* TO 'zzs'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION; 开通用户:zzs 密码:123456 数据库 xinchuanbo (远程操作)
GRANT ALL PRIVILEGES ON xinchuanbo.* TO 'zzs'@'localhost' IDENTIFIED BY '123456' WITH GRANT OPTION; (本机操作) 两个同时需要
GRANT ALL PRIVILEGES ON tianqi.* TO 'tianqi123'@'192.168.244.52' IDENTIFIED BY 'tianqi987321' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON mk_stat.* TO 'mfstat'@'192.168.244.52' IDENTIFIED BY 'mfstat518' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON ditui_zeus.* TO 'dtzeus'@'192.168.244.52' IDENTIFIED BY 'dtzeus518' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON ditui.* TO 'ditui'@'192.168.244.52' IDENTIFIED BY 'ditui518' WITH GRANT OPTION;