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

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;

猜你喜欢

转载自jadeluo.iteye.com/blog/2220400