0

How to open sqlite database when we use coredata in iOS ?
In my case it shows three database files :

  1. (appname).sqlite
  2. (appname).sqlite-shm
  3. (appname).sqlite-wal

When I tried to open via terminal it shows file is corrupted or encrypted. Can anyone guide me...

2
  • Only the first one is the database (appname).sqlite the others are shared memory file and write-ahead-log file for sqlite Commented Mar 25, 2015 at 6:42
  • How did you try to open it via terminal? Commented Mar 25, 2015 at 8:03

2 Answers 2

1

get the three file into the desktop and open with mozillafirefox->tools->SQLiteManager

Sign up to request clarification or add additional context in comments.

4 Comments

I did the same thing but SQLiteManager is not opening any file.
yes,that will allows you in the first time only, if you tried to open in a second time may be that you can't access,try it this one once, open your file path from SQLiteManager
It looks that the something is different in the Core Data sqlite format. Maybe it is encrypted now.
@Hola Soy Edu Feliz Navidad Yes, now its not getting opened.
0

After closing my application and Xcode . I opened database file in sqlite manager of mozilla. File opened successfully.

The main thing is your app should be closed.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.