我在redhat9.0下安装mysql,安装rpm包(包括mysql-2.23.54a-11,mysql-server-2.23.54a-11,perl-DBD-MySQL-2.01021-3,php-mysql-4.22-17等),但无法运行mysql,在终端执行#mysql后,出现提示信息:ERROR 2002:Can't connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock'(2),我不知道是否是mysql安装不对还是其他的原因,敬请指点,谢谢大家!
在编译 /configure时总算提醒我
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!
但是执行它/bin目录下的文件有不好用 提示
The file /usr/local/mysql/bin/mysqld doesn't exist or is not executable
Please do a cd to the mysql installation directory and restartthis script from there as follows:
./bin/mysqld_safe.