Les Partages de Memiks
Tag cloud
Picture wall
Daily
Plugins
  • ► Play Videos
RSS Feed
  • RSS Feed
  • Daily Feed
  • Weekly Feed
  • Monthly Feed
Filters

Links per page

  • 20 links
  • 50 links
  • 100 links

Filters

Untagged links
5 results tagged sqlite  ✕
SQLite - Checking whether a table exists | TablePlus https://tableplus.com/blog/2018/04/sqlite-check-whether-a-table-exists.html
Fri Nov 12 08:01:05 2021 archive.org
QRCode
Comments
SQL sqlite
Sergei Dorogin's technical blog: SQLiteException "database disk image is malformed" http://techblog.dorogin.com/2011/05/sqliteexception-database-disk-image-is.html
Wed Jun 15 17:14:23 2016 archive.org
QRCode
Comments

Réparer une base sqlite corrompue
Trés utile ;)

Via : http://www.librement-votre.fr/shaarli/?D3lHhg

So, something's broken.
I executed a query like "select * from {table}" for each table in the database and all of them was executed successfully except one. This one caused the exactly same error I saw before -"database disk image is malformed". But in spite of error I got data from this table.

So if I can read data then I can recreate my database.
I started searching for a way how to dump data from the database into a SQL-script with INSERTs. This post helped me a lot.
I needed to download SQLite shell. This tool allows to export data in many forms including INSERTs.
I run "sqlite3.exe storage.data" where "storage.data" is my corrupted database file.
The following script exports all content (as INSERTs) with schema into "dump_all.sql" file:

sqlite> .mode insert
sqlite> .output dump_all.sql
sqlite> .dump

Then exit (Ctrl-C, Ctrl-Z or ".exit") and run again: "sqlite3.exe storage.fixed.data", where "storage.fixed.data" is name of non-existing file for my resurrected database.
The following script reads commands from "dump_all.sql" script file and recreates all database.

sqlite> .read dump_all.sql

After this procedure I got a new database file with all content from the corrupted file.

sqlite corrompu repare corrupt
Medoo - The Lightest PHP database framework to accelerate development http://medoo.in/
Sat Apr 13 17:07:33 2013 archive.org
QRCode
Comments
thumbnail

Tiens je vais tester cette librairie ;)

via @seb : http://sebsauvage.net/links/?lPj1Ew

lib php mysql sqlite mssql framework
La syndication de contenu : afficher un flux RSS sur son site http://www.webrankinfo.com/dossiers/webmastering/integrer-un-flux-rss
Thu May 10 22:32:11 2012 archive.org
QRCode
Comments
thumbnail

REFLECTION... il va falloir que je fasse mon propre moteur de flux RSS parce que la ca devient n'importe quoi tinytiny est lourd et rsslounge de même...

(une base sqlite peut etre ou alors une mysql mais avec une cron...)

http://magpierss.sourceforge.net/
http://www.presse-agrume.net/api-simplepie.html

rss magiepie tinytiny rsslounge agregateur flux sqlite mysql
SQLiteSpy [Delphi Inspiration] http://www.yunqa.de/delphi/doku.php/products/sqlitespy/index
Sat Dec 31 00:53:02 2011 archive.org
QRCode
Comments
thumbnail

Un logiciel permettant de gérer les bases de données SQLite, pratique ;)

sql sqlite logiciel connection bdd
4122 links, including 1051 private
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Theme by kalvn