错误:MySQL意外关闭。 Xampp

发布于 2025-02-08 12:20:38 字数 2176 浏览 1 评论 0原文

XAMPP 3.3.0 MySQL端口:3306 我检查了与此端​​口的任何冲突,发现

MySQL没有响应任何请求,无限加载,此后它将其关闭,而没有错误日志

XAMPP日志:

    21:05:56  [mysql]   Error: MySQL shutdown unexpectedly.
    21:05:56  [mysql]   This may be due to a blocked port, missing dependencies, 
    21:05:56  [mysql]   improper privileges, a crash, or a shutdown by another method.
    21:05:56  [mysql]   Press the Logs button to view error logs and check
    21:05:56  [mysql]   the Windows Event Viewer for more clues
    21:05:56  [mysql]   If you need more help, copy and post this
    21:05:56  [mysql]   entire log window on the forums
MySql server logs:

 1. 2022-06-18 21:07:34 0 [Note] InnoDB: Mutexes and rw_locks use
    Windows interlocked functions
    
    2022-06-18 21:07:34 0 [Note] InnoDB: Uses event mutexes
    
    2022-06-18 21:07:34 0 [Note] InnoDB: Compressed tables use zlib
    1.2.11
    
    2022-06-18 21:07:34 0 [Note] InnoDB: Number of pools: 1
    
    2022-06-18 21:07:34 0 [Note] InnoDB: Using SSE2 crc32 instructions
    
    2022-06-18 21:07:34 0 [Note] InnoDB: Initializing buffer pool, total
    size = 16M, instances = 1, chunk size = 16M
    
    2022-06-18 21:07:34 0 [Note] InnoDB: Completed initialization of
    buffer pool
    
    2022-06-18 21:07:34 0 [Note] InnoDB: 128 out of 128 rollback
    segments are active.
    
    2022-06-18 21:07:34 0 [Note] InnoDB: Creating shared tablespace for
    temporary tables
    
    2022-06-18 21:07:34 0 [Note] InnoDB: Setting file
    'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the
    file full; Please wait ...
    
    2022-06-18 21:07:34 0 [Note] InnoDB: File
    'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
    
    2022-06-18 21:07:34 0 [Note] InnoDB: Waiting for purge to start
    
    2022-06-18 21:07:35 0 [Note] InnoDB: 10.4.24 started; log sequence
    number 3046387; transaction id 1396
    
    2022-06-18 21:07:35 0 [Note] InnoDB: Loading buffer pool(s) from
    C:\xampp\mysql\data\ib_buffer_pool
    
    2022-06-18 21:07:35 0 [Note] Plugin 'FEEDBACK' is disabled.
    
    2022-06-18 21:07:35 0 [Note] Server socket created on IP: '::'.

XAMPP 3.3.0
MySql port: 3306
I checked any conflict with this port and found nothing

MySql doesn't respond to any request, infinite loading and after that it shuts down leaving no error logs

XAMPP logs:

    21:05:56  [mysql]   Error: MySQL shutdown unexpectedly.
    21:05:56  [mysql]   This may be due to a blocked port, missing dependencies, 
    21:05:56  [mysql]   improper privileges, a crash, or a shutdown by another method.
    21:05:56  [mysql]   Press the Logs button to view error logs and check
    21:05:56  [mysql]   the Windows Event Viewer for more clues
    21:05:56  [mysql]   If you need more help, copy and post this
    21:05:56  [mysql]   entire log window on the forums
MySql server logs:

 1. 2022-06-18 21:07:34 0 [Note] InnoDB: Mutexes and rw_locks use
    Windows interlocked functions
    
    2022-06-18 21:07:34 0 [Note] InnoDB: Uses event mutexes
    
    2022-06-18 21:07:34 0 [Note] InnoDB: Compressed tables use zlib
    1.2.11
    
    2022-06-18 21:07:34 0 [Note] InnoDB: Number of pools: 1
    
    2022-06-18 21:07:34 0 [Note] InnoDB: Using SSE2 crc32 instructions
    
    2022-06-18 21:07:34 0 [Note] InnoDB: Initializing buffer pool, total
    size = 16M, instances = 1, chunk size = 16M
    
    2022-06-18 21:07:34 0 [Note] InnoDB: Completed initialization of
    buffer pool
    
    2022-06-18 21:07:34 0 [Note] InnoDB: 128 out of 128 rollback
    segments are active.
    
    2022-06-18 21:07:34 0 [Note] InnoDB: Creating shared tablespace for
    temporary tables
    
    2022-06-18 21:07:34 0 [Note] InnoDB: Setting file
    'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the
    file full; Please wait ...
    
    2022-06-18 21:07:34 0 [Note] InnoDB: File
    'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
    
    2022-06-18 21:07:34 0 [Note] InnoDB: Waiting for purge to start
    
    2022-06-18 21:07:35 0 [Note] InnoDB: 10.4.24 started; log sequence
    number 3046387; transaction id 1396
    
    2022-06-18 21:07:35 0 [Note] InnoDB: Loading buffer pool(s) from
    C:\xampp\mysql\data\ib_buffer_pool
    
    2022-06-18 21:07:35 0 [Note] Plugin 'FEEDBACK' is disabled.
    
    2022-06-18 21:07:35 0 [Note] Server socket created on IP: '::'.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

巴黎盛开的樱花 2025-02-15 12:20:38

您好!

只需执行以下简单步骤:

  • 重命名文件夹 c:\ xampp \ mysql \ mysql \ data < < /strong> to c:\ xampp \ mysql \ data_old
    (或任何名称)


  • 创建新文件夹 c:\ xampp \ mysql \ data

  • 复制 中的内容C:\ Xampp \ MySQL \ backup to
    c:\ xampp \ mysql \ data 文件夹


  • 复制 中的所有数据库文件夹c:\ xampp \ mysql \ data_old to
    c:\ xampp \ mysql \ data (skip performance_schema,mysql和
    来自 c:\ xampp \ mysql \ data_old )的phpmyadmin文件夹

  • 最终从c:\ xampp \ mysql \ data_old
    c:\ xampp \ mysql \ data 文件夹

    中替换它。

  • 现在从XAMPP控制面板重新启动mysql。

而且我确定这一切都已经完成...

Hello!

Just do these simple steps:

  • Rename the folder C:\xampp\mysql\data to C:\xampp\mysql\data_old
    (or any name)

  • Create new folder C:\xampp\mysql\data

  • Copy the content that is inside C:\xampp\mysql\backup to
    C:\xampp\mysql\data folder

  • Copy all your database folders that are in C:\xampp\mysql\data_old to
    C:\xampp\mysql\data (skip performance_schema, mysql and
    phpmyadmin folders from C:\xampp\mysql\data_old)

  • Finally copy the ibdata1 file from C:\xampp\mysql\data_old and
    replace it inside C:\xampp\mysql\data folder

  • Now Restart MySQL from XAMPP control panel.

And I am sure its all done...

浮生未歇 2025-02-15 12:20:38

我今天遇到了同样的问题,我通过删除所有master-xx.info文件和c:\ xampp \ mysql \ data中的所有master-xx.info文件和多master.info文件,

我再次启动它,它制造了一个新的空的多主掌握.info文件,并且效果很好。没有丢失数据

I had the same problem today and i fixed it by deleting all master-xx.info files and the multi-master.info file in C:\xampp\mysql\data

After I started it again it made a new and empty multi-master.info file and it worked perfectly fine again. No Data was lost

过期情话 2025-02-15 12:20:38

导航到CMD

Services.MSC
在出现的面板上找到myql
停止

享受

Navigate to CMD
Write
Services.msc
Find myql on the panel that comes up
Stop it

Enjoy

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文