ITeye博客

解决MySQL不允许从远程访问的方法

JadeLuo · 2015-06-17 16:40 · mysql · 数据库 · Markdown

http://blog.chinaunix.net/uid-23215128-id-2951624.html

http://www.jb51.net/article/24508.htm

#mysql -hip -uroot -p123456

 grant all PRIVILEGES on discuz.* to ted@'123.123.123.123' identified by '123456';

 flush privileges;

 

show databases;

use mysql;

select user,host from user;

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。