Mac OSX 10.8.3文件系统上的gae本地数据存储在哪里? [英] Where is the gae local datastore on a mac OSX 10.8.3 filesystem?

查看:78
本文介绍了Mac OSX 10.8.3文件系统上的gae本地数据存储在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经尝试了这些帖子中的所有建议:

?$ b的谷歌应用程序引擎本地数据存储文件位于马
$ b

我的本地App Engine数据存储在哪里?



Google App Engine本地数据存储路径配置



我仍然无法找到我的本地数据存储。



我没有设置SDK来清除启动时的数据存储,而且即使应用服务器正在运行,我也找不到它。有谁知道Google App Engine开发服务器数据存储文件的文件路径吗?



我正在运行GAE SDK 1.7.7。

解决方案

从我的一个朋友那里得到了这个答案。为我工作,我希望它可以帮助其他人。



默认情况下,[本地数据存储]存储在一个非常随机的目录中。我目前的看起来像/private/var/folders/81/ABUNCHOFCRAP/T/..../datastore.db。幸运的是,它总是被称为datastore.db。如果您的结构与我的结构相同,您可以在终端中使用以下命令找到它:

  find / private / var / folders -name datastore.db 

这应该打印出文件的完整路径寻找,以及一堆权限被拒绝的消息。如果没有任何结果,请使用以下命令:

  find / -name datastore.db 

这可能需要一段时间才能运行(它会查看所有您可以访问的目录),但它一定会找到它如果它在那里。只需将其中一个命令复制到您的终端中,即可完成设置。让我知道这是否有帮助。


I have tried all the suggestions from these posts:

Does anyone know where the Google App Engine local datastore file located for Mac OS X

Where is my local App Engine datastore?

Google App Engine local datastore path configuration

and I still can not find my local datastore.

I don't have the SDK set to clear the datastore on startup plus I can't find it even when the appserver is running. Does anyone know the file path for the Google App Engine's development server datastore file?

I am running GAE SDK 1.7.7.

解决方案

Got this answer from a friend of mine. Worked for me and I hope it helps somebody else out.

By default, it's [local datastore] stored in a pretty much random directory. My current one looks like /private/var/folders/81/ABUNCHOFCRAP/T/..../datastore.db. Luckily, it's always called datastore.db. If yours is structured the same way mine is, you can find it using the following command in your Terminal:

find /private/var/folders -name datastore.db

That should print out the full path of the file you're looking for, along with a bunch of "Permission denied" messages. If that doesn't yield anything, use this command:

find / -name datastore.db

That one might take a while to run (it looks in all of the directories you have access to), but it'll definitely find it if it's there. Just copy one of those commands into your Terminal, and you should be all set. Let me know if this helps.

这篇关于Mac OSX 10.8.3文件系统上的gae本地数据存储在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆