楼主是如何启动MYSQL服务的? 或者贴一下MYSQL的错误日志。

解决方案 »

  1.   

    直接安装服务器,通过windows的服务启动的
    【"C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld" --defaults-file="C:\ProgramData\MySQL\MySQL Server 5.6\my.ini" MySQL56】就是服务命令的内容
    err log文件的内容2014-08-08 13:00:27 5896 [Note] Plugin 'FEDERATED' is disabled.
    2014-08-08 13:00:27 1174 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
    2014-08-08 13:00:27 5896 [Note] InnoDB: Using atomics to ref count buffer pool pages
    2014-08-08 13:00:27 5896 [Note] InnoDB: The InnoDB memory heap is disabled
    2014-08-08 13:00:27 5896 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
    2014-08-08 13:00:27 5896 [Note] InnoDB: Memory barrier is not used
    2014-08-08 13:00:27 5896 [Note] InnoDB: Compressed tables use zlib 1.2.3
    2014-08-08 13:00:27 5896 [Note] InnoDB: Not using CPU crc32 instructions
    2014-08-08 13:00:27 5896 [Note] InnoDB: Initializing buffer pool, size = 112.0M
    2014-08-08 13:00:27 5896 [Note] InnoDB: Completed initialization of buffer pool
    2014-08-08 13:00:28 5896 [Note] InnoDB: Highest supported file format is Barracuda.
    2014-08-08 13:00:28 5896 [Note] InnoDB: 128 rollback segment(s) are active.
    2014-08-08 13:00:28 5896 [Note] InnoDB: Waiting for purge to start
    2014-08-08 13:00:28 5896 [Note] InnoDB: 5.6.20 started; log sequence number 1625977
    2014-08-08 13:00:28 5896 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: ea72e85d-1eb8-11e4-9087-002197c79ba1.
    2014-08-08 13:00:28 5896 [Note] Server hostname (bind-address): '*'; port: 3306
    2014-08-08 13:00:28 5896 [Note] IPv6 is available.
    2014-08-08 13:00:28 5896 [Note]   - '::' resolves to '::';
    2014-08-08 13:00:28 5896 [Note] Server socket created on IP: '::'.
    2014-08-08 13:00:28 5896 [Note] Event Scheduler: Loaded 0 events
    2014-08-08 13:00:28 5896 [Note] C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld: ready for connections.
    Version: '5.6.20-log'  socket: ''  port: 3306  MySQL Community Server (GPL)
    2014-08-08 13:01:13 5896 [Note] C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld: Normal shutdown2014-08-08 13:01:13 5896 [Note] Giving 0 client threads a chance to die gracefully
    2014-08-08 13:01:13 5896 [Note] Event Scheduler: Purging the queue. 0 events
    2014-08-08 13:01:13 5896 [Note] Shutting down slave threads
    2014-08-08 13:01:13 5896 [Note] Forcefully disconnecting 0 remaining clients
    2014-08-08 13:01:13 5896 [Note] Binlog end
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'partition'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_FT_DELETED'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_METRICS'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_CMPMEM'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_CMP_RESET'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_CMP'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_LOCKS'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'INNODB_TRX'
    2014-08-08 13:01:13 5896 [Note] Shutting down plugin 'InnoDB'
    2014-08-08 13:01:13 5896 [Note] InnoDB: FTS optimize thread exiting.
    2014-08-08 13:01:13 5896 [Note] InnoDB: Starting shutdown...
    2014-08-08 13:01:14 5896 [Note] InnoDB: Shutdown completed; log sequence number 1625987
    2014-08-08 13:01:14 5896 [Note] Shutting down plugin 'BLACKHOLE'
    2014-08-08 13:01:14 5896 [Note] Shutting down plugin 'ARCHIVE'
    2014-08-08 13:01:14 5896 [Note] Shutting down plugin 'MRG_MYISAM'
    2014-08-08 13:01:14 5896 [Note] Shutting down plugin 'MyISAM'
    2014-08-08 13:01:14 5896 [Note] Shutting down plugin 'MEMORY'
    2014-08-08 13:01:14 5896 [Note] Shutting down plugin 'CSV'
    2014-08-08 13:01:14 5896 [Note] Shutting down plugin 'sha256_password'
    2014-08-08 13:01:14 5896 [Note] Shutting down plugin 'mysql_old_password'
    2014-08-08 13:01:14 5896 [Note] Shutting down plugin 'mysql_native_password'
    2014-08-08 13:01:14 5896 [Note] Shutting down plugin 'binlog'
    2014-08-08 13:01:14 5896 [Note] C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld: Shutdown complete2014-08-08 13:04:17 5292 [Note] Plugin 'FEDERATED' is disabled.
    2014-08-08 13:04:17 aa4 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
    2014-08-08 13:04:17 5292 [Note] InnoDB: Using atomics to ref count buffer pool pages
    2014-08-08 13:04:17 5292 [Note] InnoDB: The InnoDB memory heap is disabled
    2014-08-08 13:04:17 5292 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
    2014-08-08 13:04:17 5292 [Note] InnoDB: Memory barrier is not used
    2014-08-08 13:04:17 5292 [Note] InnoDB: Compressed tables use zlib 1.2.3
    2014-08-08 13:04:17 5292 [Note] InnoDB: Not using CPU crc32 instructions
    2014-08-08 13:04:17 5292 [Note] InnoDB: Initializing buffer pool, size = 111.0M
    2014-08-08 13:04:17 5292 [Note] InnoDB: Completed initialization of buffer pool
    2014-08-08 13:04:17 5292 [Note] InnoDB: Highest supported file format is Barracuda.
    2014-08-08 13:04:18 5292 [Note] InnoDB: 128 rollback segment(s) are active.
    2014-08-08 13:04:18 5292 [Note] InnoDB: Waiting for purge to start
    2014-08-08 13:04:18 5292 [Note] InnoDB: 5.6.20 started; log sequence number 1625987
    2014-08-08 13:04:18 5292 [Note] Server hostname (bind-address): '*'; port: 3306
    2014-08-08 13:04:18 5292 [Note] IPv6 is available.
    2014-08-08 13:04:18 5292 [Note]   - '::' resolves to '::';
    2014-08-08 13:04:18 5292 [Note] Server socket created on IP: '::'.
    2014-08-08 13:04:18 5292 [Note] Event Scheduler: Loaded 0 events
    2014-08-08 13:04:18 5292 [Note] C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld: ready for connections.
    Version: '5.6.20-log'  socket: ''  port: 3306  MySQL Community Server (GPL)