【问题标题】:Mysql is not starting in xampp :Unexpected ShutdownMysql 未在 xampp 中启动:意外关闭
【发布时间】:2020-03-22 14:29:15
【问题描述】:

Mysql 没有在 xampp 中启动。我遇到了错误。 我正进入(状态 1.mysql意外关机 2.这可能是由于端口阻塞,缺少依赖项, 3. 权限不当、崩溃或被其他方法关闭。

I tried changing the port . Its not working . 

**Here is my error log :** 

2019-11-27 10:14:09 0 [Note] InnoDB: New log files created, LSN=17992
2019-11-27 10:14:09 0 [Note] InnoDB: Doublewrite buffer not found: creating new
2019-11-27 10:14:09 0 [Note] InnoDB: Doublewrite buffer created
2019-11-27 10:14:09 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-11-27 10:14:09 0 [Note] InnoDB: Creating foreign key constraint system tables.
2019-11-27 10:14:10 0 [Note] InnoDB: Creating tablespace and datafile system tables.
2019-11-27 10:14:10 0 [Note] InnoDB: Creating sys_virtual system tables.
2019-11-27 10:14:10 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-11-27 10:14:10 0 [Note] InnoDB: Setting file 'C:\xampp1\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-11-27 10:14:10 0 [Note] InnoDB: File 'C:\xampp1\mysql\data\ibtmp1' size is now 12 MB.
2019-11-27 10:14:10 0 [Note] InnoDB: Waiting for purge to start
2019-11-27 10:14:10 0 [Note] InnoDB: 10.4.8 started; log sequence number 0; transaction id 7
2019-11-27 10:14:10 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-11-27 10:14:10 0 [Note] Server socket created on IP: '::'.

【问题讨论】:

标签: mysql


【解决方案1】:

试试这个。它会帮助你:

1.退出Xampp服务器

2.进入你的 C:\xampp\mysql\data 目录

3.删除ibdata1文件

4.重启xampp服务器

【讨论】:

    【解决方案2】:

    一旦检查这些

    1. 从...xampp/mysql/backup/...复制所有文件并粘贴到.../xampp/mysql/data/

    复制后重启XAMPP并检查

    1. 如果第1点不起作用,请卸载并从0开始...

    【讨论】:

      猜你喜欢
      • 2019-09-16
      • 2022-01-22
      • 2018-11-08
      • 2015-06-21
      • 2015-06-10
      • 2019-08-12
      相关资源
      最近更新 更多