【发布时间】:2014-04-16 17:48:01
【问题描述】:
这个月运行良好。但是今天我想开始工作并且无法连接到 MySQL。
我在 Windows 7 上使用 XAMPP 1.7.7
- XAMPP 控制面板显示 MySQL 正在“运行”并显示“Mysql 已启动 [端口 3306]”
- 但是当我进入本地主机并单击状态时,它显示“MySQL 数据库已停用”
- 当我转到 phpmyadmin 时,它显示:“2002 - 服务器没有响应(或本地 MySQL 服务器的套接字配置不正确)”
C:\xampp\mysql\data 的 mysql_error.log 文件也没有显示错误?
140312 15:02:24 [Note] Plugin 'FEDERATED' is disabled.
140312 15:02:24 InnoDB: The InnoDB memory heap is disabled
140312 15:02:24 InnoDB: Mutexes and rw_locks use Windows interlocked functions
140312 15:02:24 InnoDB: Compressed tables use zlib 1.2.3
140312 15:02:24 InnoDB: Initializing buffer pool, size = 16.0M
140312 15:02:24 InnoDB: Completed initialization of buffer pool
140312 15:02:24 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
140312 15:02:24 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...
140312 15:02:24 InnoDB: Waiting for the background threads to start
140312 15:02:25 InnoDB: 1.1.8 started; log sequence number 3612444192
140312 15:02:25 [Note] Event Scheduler: Loaded 0 events
140312 15:02:25 [Note] mysql\bin\mysqld.exe: ready for connections.
Version: '5.5.16' socket: '' port: 3306 MySQL Community Server (GPL)
有什么想法吗? :(
【问题讨论】:
-
您是否尝试关闭并重新启动 MySQL?
-
当然我尝试重新启动计算机和 mysql/apache 很多