mysql dump -u root -p juhui > /data/juhui.sql //备份数据库
grant all privileges on *.* to xf111@localhost identified by \'xf11111\'; //授权用户登陆
update user set host=\'%\' where user=\'xf111\';
flush privileges; //加入注册
exit; //退出
mysql dump -u root -p juhui > /data/juhui.sql //备份数据库
grant all privileges on *.* to xf111@localhost identified by \'xf11111\'; //授权用户登陆
update user set host=\'%\' where user=\'xf111\';
flush privileges; //加入注册
exit; //退出
相关文章: