首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在卸载MAMP后恢复我的站点?

如何在卸载MAMP后恢复我的站点?
EN

Stack Overflow用户
提问于 2019-01-21 02:42:25
回答 1查看 262关注 0票数 0

我正在使用MAMP在本地使用wordpress,但我在启动MySQL服务器时遇到了一些问题,所以我决定卸载MAMP。

现在我重新安装了,MySQL服务器可以工作了,但我丢失了我对我的站点所做的一切,在我卸载之前,我备份了整个MAMP文件夹。

有没有办法从备份中恢复我的站点?

mysql_error_log.err:

代码语言:javascript
复制
2019-01-20T19:17:07.354392Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2019-01-20T19:17:07.354481Z 0 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled
2019-01-20T19:17:07.355021Z 0 [ERROR] Cannot open Windows EventLog; check privileges, or start server with --log_syslog=0
2019-01-20T19:17:07.355045Z 0 [Note] C:\MAMP\\bin\mysql\bin\mysqld.exe (mysqld 5.7.24-log) starting as process 12444 ...
2019-01-20T19:19:42.728216Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2019-01-20T19:19:42.728309Z 0 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled
2019-01-20T19:19:42.728909Z 0 [ERROR] Cannot open Windows EventLog; check privileges, or start server with --log_syslog=0
2019-01-20T19:19:42.728934Z 0 [Note] C:\MAMP\\bin\mysql\bin\mysqld.exe (mysqld 5.7.24-log) starting as process 4224 ...
2019-01-20T19:21:28.706864Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2019-01-20T19:21:28.706960Z 0 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled
2019-01-20T19:21:28.707537Z 0 [ERROR] Cannot open Windows EventLog; check privileges, or start server with --log_syslog=0
2019-01-20T19:21:28.707565Z 0 [Note] C:\MAMP\\bin\mysql\bin\mysqld.exe (mysqld 5.7.24-log) starting as process 5944 ...
EN

回答 1

Stack Overflow用户

发布于 2019-01-21 02:50:41

只需从备份中恢复/复制数据库文件。

在Windows上,MAMP数据库数据位于C:\MAMP\db\mysql

在Mac上,位于/库/应用程序支持/appsolute/MAMP PRO/db/mysql57

希望这能对你有所帮助。等待您的反馈。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/54279742

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档