数据库在某 linux 机器上 用 mysql -uroot -pthepassword
报错为
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
用 mysql -uroot -pthepassword -h192.168.200.62
才能成功,而 192.168.200.62 是本机 eth0 地址 用
mysql -uroot -pthepassword -hlocalhost 也不行
为何?