xampp中的mysql在五秒钟内启动和停止

geo*_*per 6 mysql xampp

我在Windows XP中安装了xampp.我能够启动apache和tomcat.但是当我启动mysql时,它会启动但在5秒后停止.

所以,我无法使用PHPMyAdmin.

我检查了里面的mysql_error文件,xampp/mysql/bin并且存在以下内容.

120320 11:48:44 [Note] Plugin 'FEDERATED' is disabled.
120320 11:48:44 InnoDB: The InnoDB memory heap is disabled
120320 11:48:44 InnoDB: Mutexes and rw_locks use Windows interlocked functions
120320 11:48:44 InnoDB: Compressed tables use zlib 1.2.3
120320 11:48:45 InnoDB: Initializing buffer pool, size = 16.0M
120320 11:48:45 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file C:\xampp\mysql\data\ibdata1 did not exist:
InnoDB: a new database to be created!
120320 11:48:45  InnoDB: Setting file C:\xampp\mysql\data\ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
120320 11:48:45  InnoDB: Log file C:\xampp\mysql\data\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file C:\xampp\mysql\data\ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
120320 11:48:45  InnoDB: Log file C:\xampp\mysql\data\ib_logfile1 did not exist: new to be created
InnoDB: Setting log file C:\xampp\mysql\data\ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: 127 rollback segment(s) active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
120320 11:48:48  InnoDB: Waiting for the background threads to start
120320 11:48:49 InnoDB: 1.1.8 started; log sequence number 0
120320 11:48:52 [Note] Event Scheduler: Loaded 0 events
120320 11:48:52 [Note] mysql\bin\mysqld.exe: ready for connections.
Version: '5.5.16'  socket: ''  port: 3306  MySQL Community Server (GPL)
Run Code Online (Sandbox Code Playgroud)

我在用 xampp 1.7.7

请帮忙...

let*_*eck 5

这对我有用,

  1. 退出 XAMPP

  2. 剪切C:\xampp\mysql\backup 中的所有文件

  3. 粘贴并替换C:\xampp\mysql\data 中的文件

  4. 以管理员身份运行XAMPP


vkr*_*ams 0

这是一个替代解决方案,而不是解决上述问题。我认为您使用了 xampp 的 Windows 安装程序,而不是下载 zip 文件并将其保存在 c:\xampp 下。使用此链接以 zip 格式下载。

http://www.apachefriends.org/download.php?xampp-win32-1.7.7-VC9.zip

如果您觉得 zip 文件格式很大。使用 7zip 文件格式。

http://www.apachefriends.org/download.php?xampp-win32-1.7.7-VC9.7z

之前我也遇到过同样的问题,就是这样解决的。