找一下你的mysql.cnf文件在哪里? 

解决方案 »

  1.   

    如果是linux 可以在/etc/mysql/ 下放置配置文件my.cnf
    如果是windows 可以在mysql的安装位置下放置配置文件my.cnf
      

  2.   

    是否按照的mysql 有使用时限,超过时间,自动删除?
      

  3.   

    看看mysql的错误日志,在data文件夹下后缀名是.err用记事本打开看看报的什么错误。
      

  4.   

    如下为日志内容:
    今天没有写,mysql服务没有启动
    2014-03-12 15:53:23 2608 [Note] D:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld: Shutdown complete2014-03-12 15:54:04 2620 [Note] Plugin 'FEDERATED' is disabled.
    2014-03-12 15:54:04 2620 [Note] InnoDB: The InnoDB memory heap is disabled
    2014-03-12 15:54:04 2620 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
    2014-03-12 15:54:04 2620 [Note] InnoDB: Compressed tables use zlib 1.2.3
    2014-03-12 15:54:04 2620 [Note] InnoDB: Not using CPU crc32 instructions
    2014-03-12 15:54:04 2620 [Note] InnoDB: Initializing buffer pool, size = 128.0M
    2014-03-12 15:54:04 2620 [Note] InnoDB: Completed initialization of buffer pool
    2014-03-12 15:54:05 2620 [Note] InnoDB: Highest supported file format is Barracuda.
    2014-03-12 15:54:05 2620 [Note] InnoDB: 128 rollback segment(s) are active.
    2014-03-12 15:54:05 2620 [Note] InnoDB: Waiting for purge to start
    2014-03-12 15:54:05 2620 [Note] InnoDB: 5.6.15 started; log sequence number 121687334
    2014-03-12 15:54:05 2620 [Note] Server hostname (bind-address): '*'; port: 3306
    2014-03-12 15:54:05 2620 [Note] IPv6 is available.
    2014-03-12 15:54:05 2620 [Note]   - '::' resolves to '::';
    2014-03-12 15:54:05 2620 [Note] Server socket created on IP: '::'.