还有~~~~~~~~~(不好意思~~哦)
[fish@fish fish]$ mysql
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
是怎么回事???
是不是mysql没有启动还是什么!还是要配置一些文件~~~~~~~~???
请班主和高手们好心给个详细点的回复!~小弟谢谢先啦!!!!请打救我这只菜鸟~~~~
请问班主:
我重新下载了个mysql二进源码安装!
安装过程中:来到这一步!!!!有这样的提示是什么意思!
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
This is done with:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h fish password 'new-password'
See the manual for more instructions.
You can start the MySQL daemon with:
cd . ; ./bin/safe_mysqld &
You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; run-all-tests
Please report any problems with the ./bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com
[mysql@fish mysql]$ cd /etc/rc.d/init.d
[root@fish init.d]# cp /usr/local/mysql/support-files/mysql.server mysql
[root@fish init.d]# chmod +x mysql
[root@fish init.d]# /sbin/chkconfig --del mysql
[root@fish init.d]# /sbin/chkconfig --add mysql
[root@fish init.d]# /etc/rc.d/init.d/mysql start
[root@fish init.d]# Starting mysqld daemon with databases from /usr/local/mysql/data
040614 21:04:28 mysqld ended
[root@fish init.d]# /etc/rc.d/init.d/mysql start
[root@fish init.d]# Starting mysqld daemon with databases from /usr/local/mysql/data
040614 21:04:59 mysqld ended