Board logo

标题: [求助] 数据库没安装成功,请帮忙看下是怎么回事! [打印本页]

作者: bampu    时间: 2011-12-22 18:15     标题: 数据库没安装成功,请帮忙看下是怎么回事!

贴出一部分
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mys  ql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mys  ql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mys  ql.sock' (2)
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
Stopping pure-config.pl:
Starting pure-config.pl: Running: /usr/sbin/pure-ftpd --daemonize -S21 -A -c50 -  B -C8 -D -E -fftp -H -I15 -L10000:8 -m4 -s -U133:022 -u100 -k99 -Z -lunix -p2000  0:20500 -lmysql:/www/wdlinux/etc/pureftpd-mysql.conf


                configuration ,wdcp install is finshed
                visit http://ip:8080
                more infomation please visit http://www.wdlinux.cn
作者: admin    时间: 2011-12-22 19:50

mysql没启动?

service mysqld restart
作者: bampu    时间: 2011-12-22 21:52

2011.jpg
2011-12-22 21:51
回复 2# admin


恩 不知道是什么原因 我是全新安装的 Centos 5.6 里面自带的环境全部先卸载了 且里面本来就没安装mysql 只有web环境


图片附件: 2011.jpg (2011-12-22 21:51, 26.95 KB) / 下载次数 3642
http://www.wdlinux.cn/bbs/attachment.php?aid=141&k=30936ffd9a1a7c9547e59cc67ef26204&t=1713459729&sid=Lm57v1


作者: bampu    时间: 2011-12-22 22:26

回复 2# admin
贴下我的my.cnf
# mysql conf /etc/my.cnf
# Created by http://www.wdlinux.cn
# Last Updated 2010.06.01
[client]
port  = 3306
socket  = /tmp/mysql.sock
[mysqld]
port  = 3306
socket  = /tmp/mysql.sock
skip-external-locking
key_buffer_size = 128M
max_allowed_packet = 1M
table_open_cache = 256
sort_buffer_size = 1M
read_buffer_size = 1M
read_rnd_buffer_size = 2M
myisam_sort_buffer_size = 8M
thread_cache_size = 8
query_cache_size= 16M
thread_concurrency = 8
max_connections = 300
wait_timeout = 30
interactive_timeout = 30
max_connect_errors = 9
long_query_time = 1
tmp_table_size = 16M
#log-bin=mysql-bin
#binlog_format=mixed
#server-id = 1
[mysqldump]
quick
max_allowed_packet = 8M
[mysql]
no-auto-rehash
[myisamchk]
key_buffer_size = 12M
sort_buffer_size = 1M
read_buffer = 1M
write_buffer = 1M
[mysqlhotcopy]
interactive-timeout
作者: admin    时间: 2011-12-22 22:32

chown -R mysql.mysql /www/wdlinux/mysql/var
service msyqld start
作者: bampu    时间: 2011-12-22 22:43

回复 5# admin

还是不行

   
2.jpg
2011-12-22 22:43


图片附件: 2.jpg (2011-12-22 22:43, 30.69 KB) / 下载次数 3507
http://www.wdlinux.cn/bbs/attachment.php?aid=142&k=a2d3bf8ebce052f77e414f798a586809&t=1713459729&sid=Lm57v1


作者: admin    时间: 2011-12-23 09:21

不好意思,笔误打错,是
service mysqld start
作者: bampu    时间: 2011-12-23 21:35

回复 7# admin

还是不行啊,
    [root@2011-1-6/bampu ~]# service mysqld start
Starting MySQL. ERROR! Manager of pid-file quit without updating file.
[root@2011-1-6/bampu ~]#


而且我还全新安装了下,还是这样。老大该怎么弄啊。
作者: bampu    时间: 2011-12-23 21:40

回复 7# admin

安装后的错误 信息我复制下来了

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mys ql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mys ql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mys ql.sock' (2)
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
Stopping pure-config.pl:
Starting pure-config.pl: Running: /usr/sbin/pure-ftpd --daemonize -S21 -A -c50 - B -C8 -D -E -fftp -H -I15 -L10000:8 -m4 -s -U133:022 -u100 -k99 -Z -lunix -p2000 0:20500 -lmysql:/www/wdlinux/etc/pureftpd-mysql.conf


configuration ,wdcp install is finshed
visit http://ip:8080
more infomation please visit http://www.wdlinux.cn
作者: admin    时间: 2011-12-24 12:30

这样看不出具体的原因,将IP,密码PM来
作者: bampu    时间: 2011-12-25 19:20

回复 10# admin

能提供下联系方式么。我把IP和密码发你,你给我弄下,我已经卸载干净了。
作者: admin    时间: 2011-12-25 22:38

可以通过论坛里的短信方式
作者: haosea    时间: 2011-12-28 11:54

我也是遇到这情况,先安装2.1 然后安装1.1 后来就顺利安装了
作者: haosea    时间: 2011-12-28 13:03

是vip  联系机房怎么解除限制?  你能登陆吗




欢迎光临 WDlinux官方论坛 (http://www.wdlinux.cn/bbs/) Powered by Discuz! 7.2