LINUX AS4环境,
[root@localhost mysql]# mysqladmin -u root password 123456
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
[root@localhost mysql]# /etc/init.d/mysql start
Starting MySQL................................... [FAILED]
系统自带的和MYSQL有关的包全被我删了,后来重装后,就是上面的情况。
现在安装了的包:
[root@localhost mysql]# rpm -qa | grep MySQL
MySQL-server-standard-5.0.24-0.rhel4
MySQL-test-standard-5.0.24-0.rhel4
MySQL-client-standard-5.0.24-0.rhel4
MySQL-shared-standard-5.0.24-0.rhel4
MySQL-standard-debuginfo-5.0.24-0.rhel4
MySQL-devel-standard-5.0.24-0.rhel4
[quote:03a7d2751a="purplenick"]LINUX AS4环境,
[root@localhost mysql]# mysqladmin -u root password 123456
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
[root@localhost mysql]# /etc/init.d/mysql start
Starting MySQL................................... [FAILED]
系统自带的和MYSQL有关的包全被我删了,后来重装后,就是上面的情况。
现在安装了的包:
[root@localhost mysql]# rpm -qa | grep MySQL
MySQL-server-standard-5.0.24-0.rhel4
MySQL-test-standard-5.0.24-0.rhel4
MySQL-client-standard-5.0.24-0.rhel4
MySQL-shared-standard-5.0.24-0.rhel4
MySQL-standard-debuginfo-5.0.24-0.rhel4
MySQL-devel-standard-5.0.24-0.rhel4