Questions tagged [sqlite]

SQLite is a relational database management system (RDBMS). Instead of running a server process, SQLite databases are directly accessed by running the 'sqlite' binary. Note that development questions are off-topic.

What is SQLite?

SQLite is a relational database management system. Other than its bigger competitors, e.g. MySQL or PostgreSQL, it does not run a service to be contacted for interaction. Instead, to read/write the database, either a small executable (sqlite for version2, or sqlite3 for version 3 of SQLite) or a corresponding library is used. This makes SQLite a compact database using few resources and is predestined for embedded and other systems with limited resources.

Wikipedia puts it this way:

SQLite (/ˌɛskjuːɛlˈlaɪt/ or /ˈsiːkwɛl.laɪt/) is a relational database management system contained in a small (~350 KB) C programming library. In contrast to other database management systems, SQLite is not a separate process that is accessed from the client application, but an integral part of it.

Android uses SQLite for its apps to store their data. This applies not only to data of your manually installed apps, but as well to SMS/MMS, contact data, and metadata for your media files collected by the .

If the corresponding SQLite binary is installed on your device (it not always is), databases can be accessed via (which usually requires a rooted device, see: ). But there are also apps in the Play Store that gives you this possibility directly from the device, as e.g. the SQLite Debugger. Having dragged databases to your computer (e.g. via adb pull), you can also use the desktop SQLite reader software to handle them -- regardless of whether you're on a Linux, Mac, or Windows machine.

When should I use this tag?

It's of course best fit when your issue is about accessing SQLite databases on your Android device -- be it for debugging, troubleshooting, or simply investigation. Note that development questions are off-topic in this community.

Sources

42 questions
2
votes
0 answers

Can Not Open mmssms.db

I have taken a copy of the mmssms.db from the /data/data/com.android.providers.telephony/databases/ I am trying to open this in sqliteman, but the database does not want to load in, I have taken multiple copies and it will still not open. The…
user28912
  • 21
  • 1
2
votes
0 answers

Rooted Phone's data folder now empty

I used to see all the dbs in File Explorer , now all of a sudden the data folder is empty, What could have happened? Phone: Motorola Droid X (original). I have been debugging rigorously, the only other thing I did is set up a write to my sdcard from…
Mike6679
  • 151
  • 2
0
votes
1 answer

Can you execute sqlite3 outside xbin directory?

When sqlite3 is installed you can execute the binary e.g. via a terminal emulator. If sqlite3 is not installed per default and you do not want to root the phone to install it, is there any possibility to use the binary outside the xbin directory?
0
votes
1 answer

Can't find webview.db file for android browser to view saved passwords in internet app

I can't find this file anywhere. Can anyone advise where this might be stored? I downloaded SQLITE editor on my note 3 but it says no database. When I see the internet icon under Apps in SQLite Editor in /data/data/com.sec.android.pp.sbrowser a pop…
Androidgrl
  • 1
  • 1
  • 1
-2
votes
1 answer

Unable to launch sqlite3 in my sumsung phone

I have put the libncurses.so and sqlite3 in the /xbin , but it seems unable to load the library "libncurse.so". waiting for help !