老大们,帮帮我吧,有关mysql安装与使用问题
我用LINUX时间不长,想在LINUX下配置JSP+PHP+MYSQL服务器,但不知道系统装没装MYSQL,下载一个4.1.13版的MYSQL,但是安装不上,以下是我运行MYSQL与安装MYSQL时遇到的问题,请帮我看一下到底是怎么回事吧。(运行mysql)
# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
(安装mysql)
# rpm -vih mysql4113.i386.rpm
error: Failed dependencies:
MySQL conflicts with mysql-4.1.12-2.FC4.1.i386
MySQL-server conflicts with mysql-server-4.1.12-2.FC4.1.i386
(删除mysql)
# rpm -e mysql
error: Failed dependencies:
libmysqlclient.so.14 is needed by (installed) dovecot-0.99.14-4.fc4.i386
libmysqlclient.so.14 is needed by (installed) perl-DBD-MySQL-2.9007-1.i386
libmysqlclient.so.14 is needed by (installed) mysql-server-4.1.12-2.FC4.1.i386
libmysqlclient_r.so.14 is needed by (installed) MySQL-python-1.2.0-1.i386
libmysqlclient_r.so.14 is needed by (installed) mysql-server-4.1.12-2.FC4.1.i386
mysql is needed by (installed) MySQL-python-1.2.0-1.i386
mysql = 4.1.12-2.FC4.1 is needed by (installed) mysql-devel-4.1.12-2.FC4.1.i386
mysql = 4.1.12-2.FC4.1 is needed by (installed) mysql-server-4.1.12-2.FC4.1.i386
#
我用的是FC4
高手帮我诊断一下吧,这几天为了做这个服务器费尽心思呀,感觉FC4与FC3有好多地方不同呀。 FC4 自己就带了mysql的啊. chmod 汗一把先……
楼主后台的MySQL服务器恐怕根本没启动吧…… 怎么启动呀。
直接输入MYSQL???
# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
出理这样的提示。。。 看完官方文档再来问吧
连启动都.... :? 大哥呀,不要让我看英文了,看了我就头痛,还就是我感觉我的MYSQL似乎是没有装上是的,找了好些文件夹都是空的(MYSQL)。可是重装又不行,怎么办才好呀。 可以,谢谢老大们的帮助。。。是我太急了。 这个老贴看看有没有参考价值
http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=107525&highlight=RHEL+AS+4%CF%B5%CD%B3%D3%A6%D3%C3%A3%BAweb%B7%FE%CE%F1%C6%F7%C6%AA :? http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewforum&f=51
公社的数据库区
别指望能问问题
现在那没有人
如果还没有解决问题,请到www.itworld21.com
如果还没有解决问题,请到www.itworld21.com。访问http://www.itworld21.com/modules/articles/article.php?artiid=19。
页:
[1]