gpt4 book ai didi

php - Wamp 、 Mysql 服务在浏览我的本地网站后停止

转载 作者:行者123 更新时间:2023-11-29 23:12:36 24 4
gpt4 key购买 nike

我使用 Wamp 创建我的测试网站,今天我遇到了一个以前没有遇到过的问题当我启动 wamp -> 图标变成绿色时,一切都很好。一旦我浏览我的本地网站,http://localhost/mywebsite ,Wamp图标变成橙色,mysql服务自动停止,页面显示这个错误,“超过最大执行时间30秒”,我从php.ini更改了这个时间并将其设置为600,但仍然是同样的问题,页面加载时间较长,但尚未加载

我使用wordpress,当我打开wordpress控制面板时也发生了同样的问题,我虽然发生这种情况是因为我的数据库中存在大量数据,但我删除了所有记录,但仍然存在同样的问题,知道吗?

注意:我没有无限循环。

下面是 MySQL 日志文件的最后记录

InnoDB: Doing recovery: scanned up to log sequence number 403698529
2015-01-17 23:44:52 4768 [Note] InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percent: 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
InnoDB: Last MySQL binlog file position 0 45110, file name mysql-bin.000040
2015-01-17 23:44:52 4768 [Note] InnoDB: 128 rollback segment(s) are active.
2015-01-17 23:44:52 4768 [Note] InnoDB: Waiting for purge to start 2015-01-17
23:44:53 4768 [Note] InnoDB: 5.6.12 started; log sequence number
403698529 2015-01-17 23:44:53 4768 [Note] Recovering after a crash using mysql-bin
2015-01-17 23:44:53 4768 [Note] Starting crash recovery...
2015-01-17 23:44:53 4768 [Note] Crash recovery finished.
wampmysqld: File '.\mysql-bin.000001' not found (Errcode: 2 - No such file or directory)
2015-01-17 23:44:53 4768 [ERROR] Failed to open log (file '.\mysql-bin.000001', errno 2)
2015-01-17 23:44:53 4768 [ERROR] Could not open log file
2015-01-17 23:44:53 4768 [Note] Server hostname (bind-address): '*'; port: 3306
2015-01-17 23:44:53 4768 [Note] IPv6 is available.
2015-01-17 23:44:53 4768 [Note] - '::' resolves to '::';
2015-01-17 23:44:53 4768 [Note] Server socket created on IP: '::'.
2015-01-17 23:44:54 4768 [Note] Event Scheduler: Loaded 0 events
2015-01-17 23:44:54 4768 [Note] wampmysqld: ready for connections.
Version: '5.6.12-log' socket: '' port: 3306 MySQL Community Server (GPL)

最佳答案

How to show the last queries executed on MySQL?

打开查询日志,然后查看它是否是挂起的查询。您也可以在服务器仍在运行时从 phpmyadmin 执行此操作。

关于php - Wamp 、 Mysql 服务在浏览我的本地网站后停止,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28004614/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com