读书人

配备指定IP连接

发布时间: 2012-09-16 17:33:17 作者: rapoo

配置指定IP连接
cd c:\program files\MySQL\MySQL Server 5.0\bin
>mysql -h localhost -u root -p
Enter password: ---
Welcome to the MySQL monitor.....
.....

>grant all privileges on *.* to root@"%" identified by '111' with grant option;
>flush privileges;



>use mysql
Database changed
>select * from user;

读书人网 >其他数据库

热点推荐