Report this

What is the reason for this report?

How to access sqlite database tables created by one-click Ghost installation on DigitalOcean?

Posted on October 6, 2014

I created a droplet on DigitalOcean with one click Ghost installation. I know that the blog points to a sqlite database. But I am not sure how to access it. I also tried the sqlite3 command and it said that sqlite3 isn’t installed. Please advise



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

You will need to install the sqlite3 package in order to use the sqlite3 command:

sudo apt-get install sqlite3

Then you can open your database with sqlite3:

sqlite3 /var/www/ghost/content/data/ghost.db

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.