V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
nonozone
V2EX  ›  问与答

求教一个 mysql 问题,实在是 google 不出了,求助下。

  •  
  •   nonozone · 2014-04-14 14:09:56 +08:00 · 5029 次点击
    这是一个创建于 3676 天前的主题,其中的信息可能已经有所发展或是发生改变。
    前两天把网站服务器apt-get upgrade了下,结果导致使用symphony cms框架做的网站都无法连接服务器了,提示
    Symphony Database Error

    There was a problem whilst attempting to establish a database connection. Please check all connection information is correct. The following error was returned:

    0:
    但是同服务器wordpress都没问题。
    mysql命令行也可以正常使用。

    网站的错误日志如下
    i://127.0.0.1:9000"
    1087 2014/04/11 20:24:18 [error] 2453#0: *1076 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: HTTP_HOST in /srv/www/bber.im/public_html /index.php on line 6" while reading response header from upstream, client: 109.68.191.26, server: bber.im, request: "GET / HTTP/1.0", upstream: "fastcg i://127.0.0.1:9000"
    1088 2014/04/12 01:11:06 [error] 2453#0: *1147 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: HTTP_HOST in /srv/www/bber.im/public_html /index.php on line 6" while reading response header from upstream, client: 195.219.251.157, server: bber.im, request: "HEAD / HTTP/1.0", upstream: "fas tcgi://127.0.0.1:9000"
    1089 2014/04/13 08:49:48 [error] 2453#0: *1516 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: HTTP_HOST in /srv/www/bber.im/public_html /index.php on line 6" while reading response header from upstream, client: 54.204.44.212, server: bber.im, request: "HEAD / HTTP/1.0", upstream: "fastc gi://127.0.0.1:9000"
    1090 2014/04/13 10:22:13 [error] 2453#0: *1540 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: HTTP_HOST in /srv/www/bber.im/public_html /index.php on line 6" while reading response header from upstream, client: 54.81.231.82, server: bber.im, request: "HEAD / HTTP/1.0", upstream: "fastcg i://127.0.0.1:9000"
    1091 2014/04/14 04:25:57 [error] 2453#0: *2606 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: HTTP_HOST in /srv/www/bber.im/public_html /index.php on line 6" while reading response header from upstream, client: 61.168.11.40, server: bber.im, request: "HEAD / HTTP/1.0", upstream: "fastcg i://127.0.0.1:9000"
    1092 2014/04/14 05:06:02 [error] 2453#0: *2618 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: HTTP_HOST in /srv/www/bber.im/public_html /index.php on line 6" while reading response header from upstream, client: 66.85.140.110, server: bber.im, request: "GET / HTTP/1.0", upstream: "fastcg i://127.0.0.1:9000"
    1093 2014/04/14 09:57:57 [error] 2453#0: *2704 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: HTTP_HOST in /srv/www/bber.im/public_html /index.php on line 6" while reading response header from upstream, client: 66.85.144.237, server: bber.im, request: "GET / HTTP/1.0", upstream: "fastcg i://127.0.0.1:9000"

    /var/log/mysql/error.log的错误日志如下


    60 2014-04-14 13:43:33 18457 [Note] Plugin 'FEDERATED' is disabled.
    61 2014-04-14 13:43:33 18457 [ERROR] Function 'innodb' already exists
    62 2014-04-14 13:43:33 18457 [Warning] Couldn't load plugin named 'innodb' with soname 'ha_innodb.so'.
    63 2014-04-14 13:43:33 18457 [ERROR] Function 'federated' already exists
    64 2014-04-14 13:43:33 18457 [Warning] Couldn't load plugin named 'federated' with soname 'ha_federated.so'.
    65 2014-04-14 13:43:33 18457 [ERROR] Function 'blackhole' already exists
    66 2014-04-14 13:43:33 18457 [Warning] Couldn't load plugin named 'blackhole' with soname 'ha_blackhole.so'.
    67 2014-04-14 13:43:33 18457 [ERROR] Function 'archive' already exists
    68 2014-04-14 13:43:33 18457 [Warning] Couldn't load plugin named 'archive' with soname 'ha_archive.so'.
    69 2014-04-14 13:43:33 18457 [Note] InnoDB: Using atomics to ref count buffer pool pages
    70 2014-04-14 13:43:33 18457 [Note] InnoDB: The InnoDB memory heap is disabled
    71 2014-04-14 13:43:33 18457 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
    72 2014-04-14 13:43:33 18457 [Note] InnoDB: Compressed tables use zlib 1.2.7
    73 2014-04-14 13:43:33 18457 [Note] InnoDB: Using Linux native AIO
    74 2014-04-14 13:43:33 18457 [Note] InnoDB: Not using CPU crc32 instructions
    75 2014-04-14 13:43:33 18457 [Note] InnoDB: Initializing buffer pool, size = 128.0M
    76 2014-04-14 13:43:33 18457 [Note] InnoDB: Completed initialization of buffer pool
    77 2014-04-14 13:43:33 18457 [Note] InnoDB: Highest supported file format is Barracuda.
    78 2014-04-14 13:43:33 18457 [Note] InnoDB: 128 rollback segment(s) are active.
    79 2014-04-14 13:43:33 18457 [Note] InnoDB: Waiting for purge to start
    80 2014-04-14 13:43:33 18457 [Note] InnoDB: 5.6.17 started; log sequence number 1677893
    81 2014-04-14 13:43:33 18457 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306
    82 2014-04-14 13:43:33 18457 [Note] - '127.0.0.1' resolves to '127.0.0.1';
    83 2014-04-14 13:43:33 18457 [Note] Server socket created on IP: '127.0.0.1'.
    84 2014-04-14 13:43:33 18457 [Note] Event Scheduler: Loaded 0 events
    85 2014-04-14 13:43:33 18457 [Note] /usr/sbin/mysqld: ready for connections.
    86 Version: '5.6.17-1~dotdeb.1' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Debian)
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1059 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 19:32 · PVG 03:32 · LAX 12:32 · JFK 15:32
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.