我希望有人能帮助我,在过去的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]发布于 2020-07-13 23:06:30
您的本地数据库服务器无法启动,并且在您和它之间有足够多的层来启动它,因此它所做的任何关于隐藏原因的报告都是如此。要在能够看到它所抱怨的内容的同时尝试启动它,请尝试此处的方法:start MySQL server from command line on Mac OS Lion
发布于 2020-07-21 17:13:27
我是Bitnami工程师。
感谢您使用我们的解决方案。请注意,OS X VM解决方案是我们使用应用程序构建和配置的VM。您在运行任何命令时都需要打开虚拟机的控制台,是否可以尝试打开控制台并运行启动命令?
sudo /opt/bitnami/ctlscript.sh start您可以使用ctlscript.sh文件停止服务并获取状态。如果数据库无法启动,您可以查看数据库的日志文件(/opt/bitnami/mysql/data/mysqld.log)以获取更多信息
sudo tail -n 30 /opt/bitnami/mysql/data/mysqld.loghttps://stackoverflow.com/questions/62873663
复制相似问题