全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

IP归属甄别会员请立即修改密码
查看: 1383|回复: 20
打印 上一主题 下一主题

求高手相助

[复制链接]
跳转到指定楼层
1#
发表于 2011-6-29 23:57:33 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
求高手相助
悲剧
vps上的网站打不开
谁可以帮忙
qq 3721 3 9 1 5 0
2#
发表于 2011-6-29 23:59:13 | 只看该作者
什么情况
3#
发表于 2011-6-30 00:01:23 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
4#
发表于 2011-6-30 00:01:49 | 只看该作者
原帖由 ekucn 于 2011-6-30 00:01 发表
你具体说说情况吧,发帖的总以为论坛个个都是大神,什么都不用看就能妙手回春。唉


是啊
5#
发表于 2011-6-30 00:02:39 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
6#
 楼主| 发表于 2011-6-30 00:08:54 | 只看该作者
就打不开
不是域名问题,正常是可以打开并且显示 mysql error
但现在不是,不能打开

昨天看了这个文章:
http://xd10086.com/index.php/archives/625

首先进入/etc 目录,编辑my.cnf
命令:先cd /etc,再vi my.cnf

在[mysqld]下面加入以下三行:
skip-locking
skip-bdb
skip-innodb

弄了上面那个但我应该没保存,直接关闭掉putty

就成现在这样了
7#
 楼主| 发表于 2011-6-30 00:10:11 | 只看该作者
[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
8#
发表于 2011-6-30 00:12:51 | 只看该作者
估计被你加了那几条后mySQL都没启动起来,你ps -aux看看有没有mysql的进程。
9#
发表于 2011-6-30 00:13:16 | 只看该作者
帮顶
10#
发表于 2011-6-30 00:13:55 | 只看该作者
重装系统吧
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-11-7 03:45 , Processed in 0.093650 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表