Questions tagged [sqlite]

SQLite is a software library that implements a self-contained, server-less, zero-configuration, transactional SQL database engine.

Filter by
Sorted by
Tagged with
0 votes
1 answer
26 views

Convert a comma seperated string to an array to use in bash, append a value, sort the array, then convert back to string to store in the database

EDIT: OK, I've been convinced that an array is not a good idea! #!/bin/bash # /bin/sh cannot be used with this script as "=~" is bash only [snip] sqlite $database "create table ports (...
user avatar
0 votes
1 answer
36 views

bash complains file not found for existing sqlite3 executable

I get a strange file not found error when running precompiled sqlite3 binary: /tmp/sqlite> ./sqlite-tools-linux-x86-3380000/sqlite3 bash: ./sqlite-tools-linux-x86-3380000/sqlite3: No such file or ...
user avatar
0 votes
0 answers
15 views

Local database to replace spreadsheets; copy-paste towards database from spreadsheet

I'm doing some scientific research for which I characterize many samples. Currently, I've been using spreadsheets (Libreoffice) to store my stuff, but as I get more and more data it becomes ...
user avatar
0 votes
1 answer
18 views

Firefox (cannot save history), PgAdmin4 sqlite issue, Signal, ... may be caused by kernel >5.13 and wrong F2FS file system check

If you face not working Firefox webDeveloperTools or some history issue, or pgAdmin4 complaining about some weird sqlite issue and even Signal messenger doesn't start, then the problem isn't related ...
user avatar
  • 101
0 votes
0 answers
199 views

Cisco Jabber Viewing local history file version 11.9 and later

Before version 11.9 Cisco jabber history (at least 100 last messages) can be read from local SQLite database file using SQLLite The .DB file is located in the following directories: Windows: %...
user avatar
0 votes
0 answers
78 views

Restore Chrome Login data from windows restore point

I've lost my all passwords in Chrome last days (I don't know how). I'm trying to restore my passwords so, I used Shadow Explorer to get Login Data file from system restore point. I have it but it ...
user avatar
  • 1
0 votes
1 answer
175 views

Why do I have a `SQLITE_AUTOINDEX` index for my primary key? I thought that's what a table already was

I've got this table: CREATE TABLE hash ( id INTEGER PRIMARY KEY NOT NULL, base32 TEXT UNIQUE NOT NULL ); CREATE INDEX hash_base32 ON hash(base32); and sqlite3_analyzer gives me this: *** Page ...
user avatar
  • 109
1 vote
1 answer
2k views

get row number along results from a sqlite query

I am doing sqlite file.db "select ... " | nl To number every row in the resultset. How do I get rid nl ? in other words, how do I do it in sql ?
user avatar
  • 403
1 vote
0 answers
470 views

Why does SQLite work on CephFS but not NFS

They're both network based filesystem protocols. So why can I mount SQLite databases on CephFS, but not using NFS? I've had no issues with SQLite on CephFS, but when I mount stuff that uses SQLite on ...
user avatar
  • 630
1 vote
0 answers
323 views

How to efficiently distribute large, incrementally updated sqlite database?

What is an efficient way to transfer deltas from a large sqlite database? Note: this question is NOT about how to copy/distribute a "live" database. I.e. I am not concerned about corrupted ...
user avatar
0 votes
1 answer
69 views

Append specific text from an SQLite database to multiple files

Here's what I have: An SQLite database main.db A set of 10,000x HTML files named 1.html, 2.html, 3.html ... 10000.html. main.db has a table with 2 columns: id | name 1 | apple 2 | banana ...
user avatar
  • 115
2 votes
0 answers
67 views

Are applications limited when screen is put to sleep?

I am tracing a bug in our software which happens so far only on MacOS computers (software runs on Windows, Mac and iOS). It manifests as a timout on starting a transaction in our SQLite database which ...
user avatar
  • 21
0 votes
1 answer
489 views

How Can I Install Microsoft.EntityFrameworkCore.Sqlite in Visual Studio 2019?

I'm trying to install SQlite from Nuget but I got an error. I'm using NET Core 2.1. What should I do? Microsoft.EntityFrameworkCore.Sqlite 3.0.0 is not compatible with netcoreapp2.1 (.NETCoreApp,...
user avatar
0 votes
0 answers
28 views

Does appending to a SQLite table modify the file header?

I'm coding a raspbery pi project which gathers data from temperature sensors. I decided to use SQLite to manage my collected data. I collect the data every 30 seconds and append it to my database. I ...
user avatar
0 votes
0 answers
21 views

Problems Importing a Library into Xcode

I am trying to import SQLite into an app in Xcode. The library has worked in previous iterations, but now I get an error that says "No such module SQLite" when I try to import the library at the top ...
user avatar
0 votes
1 answer
75 views

has sqlite been renamed to sqlite3?

I use sqlite for lightweight programming here and there in the Ruby language. I've noticed something odd. I use ruby gem sqlite3 to interact with the sqlite db. I recently checked out the ...
user avatar
  • 1
1 vote
0 answers
1k views

How to read google Filestream content_cache folder?

I have problem with Google Filestream. User data was not synchronized to cloud for months. After uninstalling and reinstalling the FS client sync is now working fine...but all locally saved files are ...
user avatar
3 votes
1 answer
1k views

How do I get Atom to highlight SQL embedded within python multiline comments?

I'm using atom editor for python with embedded SQL similar to this: import sqlite3 conn = sqlite3.connect('spider.sqlite') cur = conn.cursor() cur.execute('''SELECT COUNT(from_id) AS inbound, ...
user avatar
4 votes
3 answers
11k views

Where does django look for SQLite instance? (SQLite 3.8.3 or later is required (found 3.7.17))

I've cloned a django project to a vps and I'm trying to run it now, but I get this error when trying to migrate: $ python manage.py migrate django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 ...
user avatar
  • 143
0 votes
2 answers
1k views

Where does Chrome for Mac store its saved usernames (not passwords)?

I tried to log into this site (superuser) today but when I clicked the username box, an email I didn't recognize popped down below mine... this is a work computer but nobody at my workplace recognizes ...
user avatar
  • 1
0 votes
1 answer
654 views

Need help setting up phpLiteAdmin

I'm trying to set up phpLiteAdmin with no knowledge of PHP, but I'm stuck. My Apache/PHP install is working (I already run myWebSQL), and I deployed the phpLiteAdmin with the sqlite file next to it, ...
user avatar
  • 181
0 votes
1 answer
18 views

Store and compare UNIX time or expiration days

I’m thinking of a project where I’ll use a SQL database to store rows with an expiration date measured in days. Every day I’ll clean the database of expired rows. I’m considering two solutions: 1 ...
user avatar
  • 1,030
1 vote
1 answer
755 views

Are there drawbacks to sqlite as archivation format?

I have a few huge folders of small files I want to archive for long term storage (about 200GB). Instead of just using something like gzip/tar/dar/7zip I am considering to use sqlite sqlite3 ...
user avatar
  • 123
0 votes
0 answers
776 views

How to make python use latest SQLite

I already did the following: 1. Going over to this url: https://sqlite.org/download.html I will download 'sqlite-autoconf-3260000.tar.gz' which is version 3.26.0 2. assuming it's in my Downloads ...
user avatar
0 votes
1 answer
451 views

Updating folder path in Windows 10 Photo App

After several weeks work putting together a holiday video using the Windows 10 Photo App when I now open the app it can no longer find any of my photos. Every file in the Storyboard shows the sad ...
user avatar
  • 1
0 votes
1 answer
29 views

How to add SQLite manage

I remove it by mistake from my Addons. Now i can't add and this message is displayed: "This add-on is not compatible with your version of Firefox.". What can i do.
user avatar
0 votes
1 answer
204 views

How do I split directory addresses recursively in a batch file?

I have folders of audio samples, and I'm about to delete what I don't use, but I'd like to have a record of the original contents in an SQLite database. Currently, I'm writing directly to the ...
user avatar
2 votes
1 answer
3k views

Add or edit entry in Firefox history

Deleting an entry in the Firefox history is a simple matter, but how can I add or edit a URL (or URI) in the history?
user avatar
  • 3,281
1 vote
0 answers
49 views

Avoiding repetition in this SQLite query?

I'm using SQLite to modify and error-check data that isn't easily accessible via the GUI, out of an Adobe program. Unusually helpfully for Adobe, they're using absolutely standard SQLite 3 db so it's ...
user avatar
  • 1,505
0 votes
0 answers
434 views

How to link data from DB3 to excel?

The .db3 database download daily data from the web and I need to analyze those data using an excel file. the file I use to set the analysis must be an excel file because I use data coming from ...
user avatar
  • 746
0 votes
1 answer
897 views

Python sqlite3: Update all records with sum of passed parameter and current field value

Trying to update all records with the sum of each existing field value plus a parameter being passed. If the field in record A = 4 and record B = 5, I want to update all records so A = 4 + X and B = 5 ...
user avatar
  • 269
8 votes
1 answer
424 views

Identify SQL time format

I found this representation of a date (and time?) in an SQLite database. I don't recognize it as anything standard like UNIX timestamp, can anybody help me to identify it? 498586831.475129 or ...
user avatar
  • 746
4 votes
0 answers
651 views

Can I change GROUP_CONCAT Limit in SQLite?

I am thinking about switching from MySQL to SQLite, but in the MySQL Server I set the variable group_concat_max_len = 1000000; Before I switch everything to the SQLite engine I want to know if there ...
user avatar
1 vote
0 answers
2k views

how to find deleted viber messages on PC

I use both viber on smartphone (android) and in PC. I deleted some messages in chats from my phone. Then I extracted viber.db on my PC and using DB browser for SQLite tried to find those deleted ...
user avatar
  • 11
0 votes
0 answers
785 views

access to AppData/Roaming is denied

Visual Studio 2010 makes the solution in two Configurations: x86 & x64. In x86 configuration, I've no problem. In x64 configuration I get the following error: SQLitePureImageCache, moving data: ...
user avatar
  • 111
2 votes
0 answers
181 views

Format sqlite3 .schema command output

I created some sqlite tables schema using python. When I use the sqlite3 client and issue the .schema command, I can see the output is pre-formated as in the SQL source file I used as argument for the ...
user avatar
  • 169
0 votes
0 answers
223 views

15 MB SQLite database file from Chrome history shown blank

I accidentally removed the profile from my Chrome on Windows and everything disappeared. Except I was able to recover 15 MB history file from my hard drive it said the file was not corrupted. But ...
user avatar
  • 1
-1 votes
1 answer
5k views

Convert SQL Server queries to SQLite queries [closed]

What is the best converter to convert the SQL query to sqlite query? I have a script file which have lot of scripts written in SQLServer. I want to convert it to SQLite queries. Please suggest me a ...
user avatar
0 votes
0 answers
64 views

Firefox external onfly interaction

Background: I'm trying to make a set of scripts to allow myself edit stylish themes in external editor (vi in my case). In order to do that I store styles.css as external file, edit it and upload with ...
user avatar
  • 1,159
0 votes
1 answer
65 views

basic manipulation of sqlite tables

I have two tables in my .sqlite. These two tables are almost identical in terms of structure/content and I want one column of the first table to be replaced by one column of the second table. This is ...
user avatar
  • 1
0 votes
1 answer
170 views

Win 7 Home Premium & Firefox & sqlite stall system by handling of HDD or SSD after some time. What to do? NT Kernel & System up to 25/26% cpu usage

The answer in short to spare you any misleading in this case: It's three known bugs: In sqlite, and/or in Firefox's handling of sqlite, and in the operating system Win 7. (Win 7 shouldn't allow ...
user avatar
  • 211
2 votes
2 answers
2k views

Python3 fails import sqlite3

I just transferred a python module from my OS X system to Ubuntu. The module runs on the Mac just fine, but fails on the Ubuntu system with the following error: import sqlite3 File "/usr/...
user avatar
  • 121
0 votes
1 answer
644 views

Vsftpd with sqlite3 as PAM

Long Version I have a vsftpd server setup on my Raspberry Pi (running "Raspbian GNU/Linux 7" a flavour of Debian Wheezy). I would like to setup accounts using PAM. If possible I would use sqlite3 ...
user avatar
0 votes
2 answers
175 views

fedora 21 lets a user overwrite a file he does not have access to

I reproduced this problem on two fedora 21 machines. I would like that sqlite3 does not write the ~/.sqlite_history file. I couldn't find an option but said, no matter, I'll make it that it can't ...
user avatar
0 votes
0 answers
814 views

Dumping an SQLite database stored as dll file?

A little background first: I need to extract a database from an SQLite dll file for my client who has burned bridges with the previous dev. I have these 4 files sitting on my desktop: System.data....
user avatar
  • 793
4 votes
2 answers
10k views

Update a sqlite database while select into a while loop

There is a bash script that will do "some magic"™ to files which will be referenced to a sqlite database and after doing "some magic"™ the database should be updated. Here are the simplified code ...
user avatar
  • 423
1 vote
1 answer
640 views

MediaWiki with SQLite: Where are pages stored?

Where does mediawiki-1.20.2 with SQLite 3.7.13 store the content of pages? I want to dump the markdown code. I want to get all pages as shown when the "edit" button has been hit. The maintenance/...
user avatar
0 votes
0 answers
112 views

Solution for copying fields between SQLite records

How can I copy and paste multiple selected fields between SQLite records in a single operation? Copy Paste I've tried a number of SQLite tools inc. SQLite Expert, SQLiteSpy, SQLite Database Browser,...
user avatar
  • 330
4 votes
0 answers
2k views

SVN 1.8.9 with vmware shared folders

This is my setup: Running on a vmware debian wheezy Shared folder is on windows, accessed with vmware-tools I'm using the latest TortoiseSVN on the windows side of things, so downgrading svn is not ...
user avatar
0 votes
1 answer
2k views

View a deleted row in a sqlite db?

I deleted a few rows by accident. Is there something that exist to view/dump recently deleted sqlite rows? I should have made a back up
user avatar