昊昊荡荡 于 2010-11-11 16:40:09发表:
[root@fedora13 ~]# chkconfig --list mysqld
mysqld 0:off 1:off 2:off 3:on 4:off 5:on 6:off
[root@fedora13 ~]# service mysqld status
mysqld (pid 1495) is running...
我在fedora13主机上成功安装了mysql服务后(如上),在运行“mysqladmin -h 192.168.1.88 -u root password wuhaoshu”时,有如下提示:
^Cmysqladmin: connect to server at '192.168.1.88' failed
error: 'Can't connect to MySQL server on '192.168.1.88' (4)'
Check that mysqld is running on 192.168.1.88 and that the port is 3306.
You can check this by doing 'telnet 192.168.1.88 3306'
请问我该怎么办呢?
192.168.1.88主机的主机名为fedora13,把ip地址换成主机名也是同样的错误提示。