下面是一些错误信息
mysqldump -uroot -p1235 supermario > mali.sql
mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) when trying to connect
[root@uhz000118 ~]# service mysqld start
Starting MySQL: [ OK ]
[root@uhz000118 ~]# /etc/rc.d/init.d/mysqld status
mysqld (pid 12399) 正在运行...
[root@uhz000118 ~]# mysqldump -uroot -p1235 supermario > mali.sql
mysqldump: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect
[root@uhz000118 ~]# mysql -h127.0.0.1 -uroot -p1235
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111)
还求指教