MySQL5.6命令笔记

授权root用户在远程终端访问

GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION;

 

posted @ 2017-07-14 14:05  z醉清风  阅读(260)  评论(0编辑  收藏  举报