Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the gae local datastore on a mac OSX 10.8.3 filesystem?

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.

like image 616
Paul Avatar asked Apr 18 '13 18:04

Paul


1 Answers

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.

like image 66
Paul Avatar answered Nov 15 '22 23:11

Paul