redlizard 发表于 2005-1-8 15:03:21

Mysql下mysql.sock丢失问题

在FC3上安装MySQL4.1
总是提示
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
可是,我做好之后,
重新起动Mysql,
tmp下的mysql.sock又丢失了,
如果设定在/var/lib/mysql/下面又无法使用,
请问该怎么解决?

VimChina 发表于 2005-1-8 15:16:35

http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=100764

涩兔子 发表于 2005-1-8 15:18:08

都是由于这个问题难住了

看来兔兔要写篇正确安装MySQL的帖子了 :mrgreen:

jiangtao9999 发表于 2005-1-8 16:39:48

mysqld 没有启动?

redlizard 发表于 2005-1-8 21:44:32

谢谢,
就事因为起动之后才会丢失的

女生版涩兔子 发表于 2005-1-10 13:13:56

都是由于这个问题难住了

看来兔兔要写篇正确安装MySQL的帖子了 :mrgreen:
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
:D

jiangtao9999 发表于 2005-1-10 20:08:48

:roll:
楼上不至于吧?

涩兔子 发表于 2005-1-11 09:34:02

都是由于这个问题难住了

看来兔兔要写篇正确安装MySQL的帖子了 :mrgreen:
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
I'm support you! :D
:D

I will support you!

thanks :P

jiangtao9999 发表于 2005-1-11 21:08:44

涩兔子, 女生版涩兔子 ?????
:?:

redlizard 发表于 2005-1-11 21:08:52

谢谢大家这么热心!

我的操作系统是FC3
总是弄不好,所以干脆用yum安装3.23
把/var/lib/mysql/myslq.sock拷贝到 /tmp

我的遇到的情况是,

socket=/tmp/mysql.sock

启动 /etc/init.d/mysqld start
返回的结果
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL:                           
等我再看/tmp
mysql.sock已经被无缘无故的删除了

不知道各位遇到过类似状况吗?

mysql.sock的权限
/var/lib/mysql/mysql.sock
-rwxrwxrwt1 mysql mysql      01月8 13:34 mysql.sock

/tmp/mysql.sock
-rwxrwxr-t1 mysql mysql 01月 11 21:50 mysql.sock

涩兔子 发表于 2005-1-12 08:07:46

涩兔子, 女生版涩兔子 ?????
:?:

是fox_eagle在扮演女生版涩兔子 :P

涩兔子 发表于 2005-1-12 08:10:23

Timeout error occurred trying to start MySQL Daemon.
Starting MySQL:

尝试启动MySQL的时候出现超时错误

你就用FC3的安装光盘中的MySQL吧,不会出现这么多郁闷的事儿

等你了解更多MySQL后,再用源代码包

不然还没使用MySQL,就对它产生挫败感了 :idea:

redlizard 发表于 2005-1-13 21:11:41

Timeout error occurred trying to start MySQL Daemon.
Starting MySQL:

尝试启动MySQL的时候出现超时错误

你就用FC3的安装光盘中的MySQL吧,不会出现这么多郁闷的事儿

等你了解更多MySQL后,再用源代码包

不然还没使用MySQL,就对它产生挫败感了 :idea:


我用的就事FC3中自带的 :cry:

涩兔子 发表于 2005-1-14 08:06:27

bad luck

看了http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=100764的解释问题解决了么 :?:
页: [1]
查看完整版本: Mysql下mysql.sock丢失问题