可以使用查询分析仪,无法使用命令行

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
罗非鱼
帖子: 980
注册时间: 2008-04-12 12:44

可以使用查询分析仪,无法使用命令行

#1

帖子 罗非鱼 » 2010-07-30 15:00

很奇怪的问题,可以通过查询分析仪,进入mysql,命令行确无法进入
pt@pt-laptop:~$ mysql -u -root -p
Enter password:
ERROR 1045 (28000): Access denied for user '-root'@'localhost' (using password: YES)
在查询分析仪里面使用命令:
select user from mysql.user;
明明有root,怎么处理呢?
aerofox
帖子: 1453
注册时间: 2008-05-24 8:30

Re: 可以使用查询分析仪,无法使用命令行

#2

帖子 aerofox » 2010-08-02 6:38

代码: 全选

mysql -u root -p
回复