网站数据库隔段时间就自动停止。求大神帮忙看看

网站数据库隔段时间就自动停止。然后昨晚把数据库搬离到例外一台服务器上面。还是停止了。只有重启了服务器,然后网站才能正常访问。有大神帮忙解答吗。看看是什么问题。还有装的是ecshop程序。环境都是用phpstudy安装的集成环境。

错误日志显示如下:
160409 1:43:25 [Note] Plugin 'FEDERATED' is disabled.
160409 1:43:25 InnoDB: The InnoDB memory heap is disabled
160409 1:43:25 InnoDB: Mutexes and rw_locks use Windows interlocked functions
160409 1:43:25 InnoDB: Compressed tables use zlib 1.2.3
160409 1:43:25 InnoDB: Initializing buffer pool, size = 47.0M
160409 1:43:25 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file .\ibdata1 did not exist:
InnoDB: a new database to be created!
160409 1:43:25 InnoDB: Setting file .\ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
160409 1:43:25 InnoDB: Log file .\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile0 size to 24 MB
InnoDB: Database physically writes the file full: wait...
160409 1:43:26 InnoDB: Log file .\ib_logfile1 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile1 size to 24 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: 127 rollback segment(s) active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
160409 1:43:26 InnoDB: Waiting for the background threads to start
160409 1:43:27 InnoDB: 5.5.40 started; log sequence number 0
160409 1:43:27 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
160409 1:43:27 [Note] - '0.0.0.0' resolves to '0.0.0.0';
160409 1:43:27 [Note] Server socket created on IP: '0.0.0.0'.
160409 1:43:27 [Note] Event Scheduler: Loaded 0 events
160409 1:43:27 [Note] MySQLa: ready for connections.
Version: '5.5.40' socket: '' port: 3306 MySQL Community Server (GPL)
160409 8:31:54 [Note] MySQLa: Normal shutdown

160409 8:31:54 [Note] Event Scheduler: Purging the queue. 0 events
160409 8:31:54 InnoDB: Starting shutdown...
160409 8:31:55 InnoDB: Shutdown completed; log sequence number 1595675
160409 8:31:55 [Note] MySQLa: Shutdown complete

160409 8:33:07 [Note] Plugin 'FEDERATED' is disabled.
160409 8:33:07 InnoDB: The InnoDB memory heap is disabled
160409 8:33:07 InnoDB: Mutexes and rw_locks use Windows interlocked functions
160409 8:33:07 InnoDB: Compressed tables use zlib 1.2.3
160409 8:33:07 InnoDB: Initializing buffer pool, size = 47.0M
160409 8:33:07 InnoDB: Completed initialization of buffer pool
160409 8:33:07 InnoDB: highest supported file format is Barracuda.
160409 8:33:08 InnoDB: Waiting for the background threads to start
160409 8:33:09 InnoDB: 5.5.40 started; log sequence number 1595675
160409 8:33:09 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
160409 8:33:09 [Note] - '0.0.0.0' resolves to '0.0.0.0';
160409 8:33:09 [Note] Server socket created on IP: '0.0.0.0'.
160409 8:33:09 [Note] Event Scheduler: Loaded 0 events
160409 8:33:09 [Note] MySQLa: ready for connections.
Version: '5.5.40' socket: '' port: 3306 MySQL Community Server (GPL)
160409 8:34:25 [Note] Plugin 'FEDERATED' is disabled.
160409 8:34:25 InnoDB: The InnoDB memory heap is disabled
160409 8:34:25 InnoDB: Mutexes and rw_locks use Windows interlocked functions
160409 8:34:25 InnoDB: Compressed tables use zlib 1.2.3
160409 8:34:25 InnoDB: Initializing buffer pool, size = 47.0M
160409 8:34:25 InnoDB: Completed initialization of buffer pool
160409 8:34:25 InnoDB: highest supported file format is Barracuda.
160409 8:34:25 InnoDB: Waiting for the background threads to start
160409 8:34:26 InnoDB: 5.5.40 started; log sequence number 1595675
160409 8:34:26 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
160409 8:34:26 [Note] - '0.0.0.0' resolves to '0.0.0.0';
160409 8:34:26 [Note] Server socket created on IP: '0.0.0.0'.
160409 8:34:26 [Note] Event Scheduler: Loaded 0 events
160409 8:34:26 [Note] MySQLa: ready for connections.
Version: '5.5.40' socket: '' port: 3306 MySQL Community Server (GPL)

查看全部
young183
有点小帅丶
2016/04/09 06:41
  • 数据库连接失败
  • 数据库
  • 点赞
  • 收藏
  • 回答
    私信

1个回复