就成现在这样了作者: jacksoking 时间: 2011-6-30 00:10
[root@MyVPS1411 ~]# cd /etc
[root@MyVPS1411 etc]# vi my.cnf
E325: ATTENTION
Found a swap file by the name ".my.cnf.swp"
owned by: root dated: Tue Jun 28 23:21:18 2011
file name: /etc/my.cnf
modified: YES
user name: root host name: MyVPS1411
process ID: 2297
While opening file "my.cnf"
dated: Fri Jun 18 03:51:36 2010
(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r my.cnf"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file ".my.cnf.swp"
to avoid this message.
"my.cnf" 26L, 849C
Press ENTER or type command to continue作者: znithy 时间: 2011-6-30 00:12
估计被你加了那几条后mySQL都没启动起来,你ps -aux看看有没有mysql的进程。作者: vip1 时间: 2011-6-30 00:13
帮顶作者: loveni 时间: 2011-6-30 00:13
重装系统吧作者: l12ab 时间: 2011-6-30 00:15
删掉.my.cnf.swp
编辑my.cnf
保存
重启mysqld作者: jacksoking 时间: 2011-6-30 00:15
已经把那个my.cnf.swf删掉了作者: wdlth 时间: 2011-6-30 00:15
还原原来的my.cnf作者: woyo 时间: 2011-6-30 00:16
不明白为什么要去搞my.cnf那么“高手”的东西作者: jacksoking 时间: 2011-6-30 00:20