Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howtos:sqlitecommandlineutility [2009/03/08 13:28] – Updated to mention SQLite 3.x and sqlite3.exe xueshenghowtos:sqlitecommandlineutility [2009/03/10 16:54] (current) – external edit 127.0.0.1
Line 7: Line 7:
 The Windows version of POPFile comes with a simple SQLite command-line utility. The Windows POPFile installer creates a shortcut ("Run SQLite utility") in the 'User Data' folder to make it easy to use the SQLite command-line utility. The utility runs in a Command Prompt window. You must type the necessary commands into this window to make the utility do anything. The Windows POPFile installer provides some user-friendly front-end utilities you can use rather than having to memorize all of the command syntax: The Windows version of POPFile comes with a simple SQLite command-line utility. The Windows POPFile installer creates a shortcut ("Run SQLite utility") in the 'User Data' folder to make it easy to use the SQLite command-line utility. The utility runs in a Command Prompt window. You must type the necessary commands into this window to make the utility do anything. The Windows POPFile installer provides some user-friendly front-end utilities you can use rather than having to memorize all of the command syntax:
  
-  * POPFile SQLite Database Status Check utility +  * [[/docs/howtos:sqlitestatuscheck | POPFile SQLite Database Status Check utility]] 
-  * POPFile Run SQLite Utility+  * [[/docs/howtos:runsqlite | POPFile Run SQLite Utility]]
  
-SQLite 2.x and 3.x databases are not compatible therefore POPFile 1.1.0 (or later) will automatically upgrade an existing SQLite 2.x database to the new 3.x format (and save the old database as ''popfile.db.backup''). There are also two versions of the SQLite command-line utility: ''sqlite3.exe'' works with SQLite 3.x format databases and ''sqlite.exe'' works with SQLite 2.x databases.+SQLite 2.x and 3.x databases are not compatible therefore POPFile 1.1.0 (or later) will automatically upgrade an existing SQLite 2.x database to the new 3.x format (and save the old database as ''popfile.db.backup'').
  
-The shortcuts created by the Windows installer will automatically use the appropriate version of the SQLite command-line utility.+There are two versions of the SQLite command-line utility: ''sqlite3.exe'' works with SQLite 3.x format databases and ''sqlite.exe'' works with SQLite 2.x databases. The shortcuts created by the Windows installer will automatically use the appropriate version of the SQLite command-line utility.
  
 Two common uses for the SQLite command-line utility are: checking the integrity of an SQLite database, and defragmenting an SQLite database. The utility also allows advanced users to manually enter and execute SQL commands to manipulate an SQLite database. Two common uses for the SQLite command-line utility are: checking the integrity of an SQLite database, and defragmenting an SQLite database. The utility also allows advanced users to manually enter and execute SQL commands to manipulate an SQLite database.
Line 26: Line 26:
 **NOTE**: Binary versions of the SQLite command-line utility which are compatible with SQLite 2.x format databases as used by POPFile 0.21.0 to 1.0.1 are no longer listed on the [[http://www.sqlite.org/download.html | SQLite download page]] though the source code for SQLite 2.8 is still available. **NOTE**: Binary versions of the SQLite command-line utility which are compatible with SQLite 2.x format databases as used by POPFile 0.21.0 to 1.0.1 are no longer listed on the [[http://www.sqlite.org/download.html | SQLite download page]] though the source code for SQLite 2.8 is still available.
  
-If you want to know more about the POPFile-compatible version of the SQLite command-line utility, a tutorial based on old information from the SQLite web site, is available [[sqlite_tutorial | here]].+If you want to know more about the SQLite 2.x version of the SQLite command-line utility used by POPFile releases 0.21.0 to 1.0.1, a tutorial based on old information from the SQLite web site, is available [[sqlite_tutorial | here]].
  
 **CAUTION**: Although the SQLite web site describes the SQLite command-line utility as a "simple" utility, it is actually very powerful. If you use it incorrectly, you could seriously damage the POPFile database, preventing POPFile from working properly. **CAUTION**: Although the SQLite web site describes the SQLite command-line utility as a "simple" utility, it is actually very powerful. If you use it incorrectly, you could seriously damage the POPFile database, preventing POPFile from working properly.
 
howtos/sqlitecommandlineutility.1236518902.txt.gz · Last modified: 2009/03/08 14:28 (external edit)
Old revisions

Should you find anything in the documentation that is incomplete, unclear, outdated or just plain wrong, please let us know and leave a note in the Documentation Forum.

Recent changes RSS feed Donate Driven by DokuWiki
The content of this wiki is protected by the GNU Fee Documentation License