# Accessing Plex's SQLite DBs with command line tool...

**URL:** <https://forums.plex.tv/t/accessing-plexs-sqlite-dbs-with-command-line-tool/1809>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [May 20, 2009, 2:22am UTC](https://forums.plex.tv/t/accessing-plexs-sqlite-dbs-with-command-line-tool/1809 "2009-05-20T02:22:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wells](https://avatars.discourse-cdn.com/v4/letter/w/e99b99/32.png) [@Wells](https://forums.plex.tv/u/Wells)\
**Post date:** [May 20, 2009, 2:22am UTC](https://forums.plex.tv/t/accessing-plexs-sqlite-dbs-with-command-line-tool/1809/1 "2009-05-20T02:22:34Z")

</div>

I’m running Ubuntu, and I installed the sqlite client with apt-get. Pulled down the .db files from my Plex server, but when I “sqlite MyVideos34.db”, I get the error ‘Unable to open database “MyVideos34.db”: file is encrypted or is not a database’.  
  
  
  
Any tips/ideas?

---

<div class="post-metadata">

**Author:** ![Wells](https://avatars.discourse-cdn.com/v4/letter/w/e99b99/32.png) [@Wells](https://forums.plex.tv/u/Wells)\
**Post date:** [May 20, 2009, 2:25am UTC](https://forums.plex.tv/t/accessing-plexs-sqlite-dbs-with-command-line-tool/1809/2 "2009-05-20T02:25:42Z")

</div>

> [@](#):
>
> I’m running Ubuntu, and I installed the sqlite client with apt-get. Pulled down the .db files from my Plex server, but when I “sqlite MyVideos34.db”, I get the error ‘Unable to open database “MyVideos34.db”: file is encrypted or is not a database’.  
>   
>   
>   
> Any tips/ideas?

  
  
Ah, nevermind- trying to access Plex's Sqlite 3 DBs with a Sqlite 2 client.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 20, 2019, 8:26pm UTC](https://forums.plex.tv/t/accessing-plexs-sqlite-dbs-with-command-line-tool/1809/3 "2019-12-20T20:26:53Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
