mysql - Wordpress mysql服务错误错误:无法启动“mysql”:无法启动服务:进程以状态3退出
问题描述
我希望有人可以帮助我,在过去的 3 个月里,我一直在我的 mac 上使用 wordpress 开发一个网站,只有当我在上周末尝试访问它时,mysql 服务才会运行,我一直得到错误
ERROR: Failed to start "mysql": cannot start service: Process exited with status 3
谁能帮我让我的网站重新启动并运行?
这是使用 Wordpress 的第一条领带,所以我不太确定自己在做什么。
任何帮助将不胜感激
我已经设法在安全模式下运行 mysql,这是它提供的代码
Last login: Mon Jul 13 22:23:09 on ttys001
Lukes-iMac:~ lukejackson$/Users/lukejackson/.bitnami/stackman/machines/wordpress/volumes/root/mysql/bin/mysqld_safe ; exit;
/Users/lukejackson/.bitnami/stackman/machines/wordpress/volumes/root/mysql/bin/my_print_defaults: line 12: /Users/lukejackson/.bitnami/stackman/machines/wordpress/volumes/root/mysql/bin/my_print_defaults.bin: cannot execute binary file
/Users/lukejackson/.bitnami/stackman/machines/wordpress/volumes/root/mysql/bin/my_print_defaults: line 12: /Users/lukejackson/.bitnami/stackman/machines/wordpress/volumes/root/mysql/bin/my_print_defaults.bin: Undefined error: 0
/Users/lukejackson/.bitnami/stackman/machines/wordpress/volumes/root/mysql/bin/my_print_defaults: line 12: /Users/lukejackson/.bitnami/stackman/machines/wordpress/volumes/root/mysql/bin/my_print_defaults.bin: cannot execute binary file
/Users/lukejackson/.bitnami/stackman/machines/wordpress/volumes/root/mysql/bin/my_print_defaults: line 12: /Users/lukejackson/.bitnami/stackman/machines/wordpress/volumes/root/mysql/bin/my_print_defaults.bin: Undefined error: 0
/Users/lukejackson/.bitnami/stackman/machines/wordpress/volumes/root/mysql/bin/mysqld_safe: line 674: /opt/bitnami/mysql/data/Lukes-iMac.err: No such file or directory
Logging to '/opt/bitnami/mysql/data/Lukes-iMac.err'.2020-07-13T21:43:10.6NZ mysqld_safe Starting mysqld daemon with databases from /opt/bitnami/mysql/data/Users/lukejackson/.bitnami/stackman/machines/wordpress/volumes/root/mysql/bin/mysqld_safe: line 144: /opt/bitnami/mysql/data/Lukes-iMac.err: No such file or directory
/Users/lukejackson/.bitnami/stackman/machines/wordpress/volumes/root/mysql/bin/mysqld_safe: line 199: /opt/bitnami/mysql/data/Lukes-iMac.err: No such file or directory
/Users/lukejackson/.bitnami/stackman/machines/wordpress/volumes/root/mysql/bin/mysqld_safe: line 937: /opt/bitnami/mysql/data/Lukes-iMac.err: No such file or directory
2020-07-13T21:43:10.6NZ mysqld_safe mysqld from pid file /opt/bitnami/mysql/data/Lukes-iMac.pid ended
/Users/lukejackson/.bitnami/stackman/machines/wordpress/volumes/root/mysql/bin/mysqld_safe: line 144: /opt/bitnami/mysql/data/Lukes-iMac.err: No such file or directory
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
解决方案
您的本地数据库服务器无法启动,并且它在您和它之间有足够的层启动,以至于它所做的任何报告都被隐藏了。要尝试启动它同时能够看到它在抱怨什么,请尝试这里的方法:start MySQL server from command line on Mac OS Lion
推荐阅读
- php - PHPmailer不向gmail发送消息
- algorithm - 如何找到我附近的东西?
- python - 为什么这段代码不会破坏 python 中的 while True 循环?
- go - 如何避免tempCodeRunnerFile.go出现在项目中
- c# - 在 .net core 3.1 类库项目中,在构建时设置具有某些值的类私有字符串参数
- flutter - 使用导航中的道具调用 API
- c# - 从 SaveFileDialog 获取选择的文件类型
- bash - 许多 Shell 命令架构
- c# - Blazor Webassembly 配置 (appsettings.json) 最初在组件中加载空值
- javascript - 我可以动态更改 scss 文件以在 Vue 应用程序中使用吗?