红联Linux门户
Linux帮助

mysql server remote connect in linux

发布时间:2008-08-20 21:21:17来源:红联作者:Ziud
mysql -u root -p
Enter password: ********
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2 to server version: 5.0.9-beta
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>

解决方法:
mysql>grant all on *.* to root@'%' identified by 'yourpassword';
mysql>flush privileges;
文章评论

共有 0 条评论