电脑上装的wamp运行之后mysql服务启动不了,连接数据库也是提示连接不成功 2003-Can””t connect to MySQL on “”localhost”” (10061)总是报这个错,以前也没出现过,就是停电服务器重启过后就出现这问题了,要怎么解决?
帮你转到mysql专区了
10分
你的mysql 服务没有启动成功
在window下用 mysqld –console
在Linux下用 mysqld_safe
什么意思啊?wamp里的mysql控制台启用不了···
2014-03-21 13:22:32 2432 [Note] Plugin “”FEDERATED”” is disabled.
2014-03-21 13:22:32 2432 [Note] InnoDB: The InnoDB memory heap is disabled
2014-03-21 13:22:32 2432 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2014-03-21 13:22:32 2432 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-03-21 13:22:32 2432 [Note] InnoDB: Not using CPU crc32 instructions
2014-03-21 13:22:32 2432 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2014-03-21 13:22:32 2432 [Note] InnoDB: Completed initialization of buffer pool
2014-03-21 13:22:32 2432 [Note] InnoDB: Highest supported file format is Barracuda.
2014-03-21 13:22:32 2432 [Note] InnoDB: The log sequence numbers 1674880 and 1674880 in ibdata files do not match the log sequence number 1674890 in the ib_logfiles!
2014-03-21 13:22:32 2432 [Note] InnoDB: Database was not shutdown normally!
2014-03-21 13:22:32 2432 [Note] InnoDB: Starting crash recovery.
2014-03-21 13:22:32 2432 [Note] InnoDB: Reading tablespace information from the .ibd files…
2014-03-21 13:22:32 2432 [ERROR] InnoDB: checksum mismatch in tablespace .\mdsdb\mds_company.ibd (table mdsdb/mds_company)
InnoDB: Error: could not open single-table tablespace file .\mdsdb\mds_company.ibd
InnoDB: We do not continue the crash recovery, because the table may become
InnoDB: corrupt if we cannot apply the log records in the InnoDB log to it.
InnoDB: To fix the problem and start mysqld:
InnoDB: 1) If there is a permission problem in the file and mysqld cannot
InnoDB: open the file, you should modify the permissions.
InnoDB: 2) If the table is not needed, or you can restore it from a backup,
InnoDB: then you can remove the .ibd file, and InnoDB will do a normal
InnoDB: crash recovery and ignore that table.
InnoDB: 3) If the file system or the disk is broken, and you cannot remove
InnoDB: the .ibd file, you can set innodb_force_recovery > 0 in my.cnf
InnoDB: and force InnoDB to continue crash recovery here.
2014-03-21 13:57:14 3680 [Note] Plugin “”FEDERATED”” is disabled.
2014-03-21 13:57:14 3680 [Note] InnoDB: The InnoDB memory heap is disabled
2014-03-21 13:57:14 3680 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2014-03-21 13:57:14 3680 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-03-21 13:57:14 3680 [Note] InnoDB: Not using CPU crc32 instructions
2014-03-21 13:57:14 3680 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2014-03-21 13:57:14 3680 [Note] InnoDB: Completed initialization of buffer pool
2014-03-21 13:57:14 3680 [Note] InnoDB: Highest supported file format is Barracuda.
2014-03-21 13:57:14 3680 [Note] InnoDB: The log sequence numbers 1674880 and 1674880 in ibdata files do not match the log sequence number 1674890 in the ib_logfiles!
2014-03-21 13:57:14 3680 [Note] InnoDB: Database was not shutdown normally!
2014-03-21 13:57:14 3680 [Note] InnoDB: Starting crash recovery.
2014-03-21 13:57:14 3680 [Note] InnoDB: Reading tablespace information from the .ibd files…
2014-03-21 13:57:14 3680 [ERROR] InnoDB: checksum mismatch in tablespace .\mdsdb\mds_company.ibd (table mdsdb/mds_company)
InnoDB: Error: could not open single-table tablespace file .\mdsdb\mds_company.ibd
InnoDB: We do not continue the crash recovery, because the table may become
InnoDB: corrupt if we cannot apply the log records in the InnoDB log to it.
InnoDB: To fix the problem and start mysqld:
InnoDB: 1) If there is a permission problem in the file and mysqld cannot
InnoDB: open the file, you should modify the permissions.
InnoDB: 2) If the table is not needed, or you can restore it from a backup,
InnoDB: then you can remove the .ibd file, and InnoDB will do a normal
InnoDB: crash recovery and ignore that table.
InnoDB: 3) If the file system or the disk is broken, and you cannot remove
InnoDB: the .ibd file, you can set innodb_force_recovery > 0 in my.cnf
InnoDB: and force InnoDB to continue crash recovery here.