1

I got .db file from my PM through mail. but i cannot open it using my terminal in Mac, when i type its name, it is creating a new db rather than opening a existed one.

Can anyone let me know whats the problem and how to solve it.

4
  • What do you exactly type in the terminal? Commented Jan 19, 2012 at 10:29
  • Forgive me if this is too obvious, but are you in the correct folder when calling sqlite3 command? You need to be in the folder where your noble.db file resides. Commented Jan 19, 2012 at 10:56
  • sorry,i didn't get you, how can i be in the folder when i am in terminal page!!!!! Commented Jan 19, 2012 at 11:58
  • Check Didier answer. Also, you can use pwd command to see the current path. Commented Jan 19, 2012 at 16:53

1 Answer 1

5

Copy the noble.db file into a folder you have access to in read/write mode.

Note the absolute complete path of this folder (starting with a /) - let's suppose it is /foo/bar

Start your terminal application

Type cd /foo/bar

Type sqlite3 noble.db

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

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.