我安装的版本是mysql-5.0.27-win32
现在mysql服务重视无缘无故的自动停止(平均1天自动停1、2次)。停止后可手动启动。昨天重新安装了mysql后问题仍然如此。请问大家知道这是什么原因吗?能解决嘛?或者有没有什么办法能让mysql服务器无故停止后立即自动启动?万分感谢!!!!err日志如下:
070616 12:09:00  InnoDB: Started; log sequence number 0 0
070616 12:09:00 [Note] D:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld-nt: ready for connections.
Version: '5.0.27-community-nt'  socket: ''  port: 3306  MySQL Community Edition (GPL)
070617  9:17:01  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
070617  9:17:15  InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 174822157.
InnoDB: Doing recovery: scanned up to log sequence number 0 174822157
070617  9:17:16  InnoDB: Started; log sequence number 0 174822157
070617  9:17:17 [Note] D:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld-nt: ready for connections.
Version: '5.0.27-community-nt'  socket: ''  port: 3306  MySQL Community Edition (GPL)我的my.ini文件如下:
[client]
port=3306
[mysql]
default-character-set=gbk
[mysqld]
port=3306
basedir="D:/Program Files/MySQL/MySQL Server 5.0/"
datadir="D:/Program Files/MySQL/MySQL Server 5.0/Data/"
default-character-set=gbk
default-storage-engine=INNODB
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
max_connections=800
query_cache_size=31M
table_cache=1520
tmp_table_size=16M
thread_cache_size=38
myisam_max_sort_file_size=100G
myisam_max_extra_sort_file_size=100G
myisam_sort_buffer_size=11M
key_buffer_size=46M
read_buffer_size=64K
read_rnd_buffer_size=256K
sort_buffer_size=256K
innodb_additional_mem_pool_size=2M
innodb_flush_log_at_trx_commit=1
innodb_log_buffer_size=1M
innodb_buffer_pool_size=88M
innodb_log_file_size=18M
innodb_thread_concurrency=8

解决方案 »

  1.   

    我建了一个网站服务器为:
    win 2003系统,环境为:apache+php+mysql
    刚开始运行都是正常的.可是后来隔三差五的打网页时出现下面这句话
     
    ECSHOP info: Can't Connect MySQL Server(localhost:3306)!
     
    然后我重启apache还是不行..
    最后只能重启服务器系统就好了(等于重启了mysql)..
    太奇怪了.有时不知不觉网站就挂了.郁闷死了..
    求大家能给我看看是怎么回事吗.