Run Update Script on Local Database

Top  Previous  Next

In some cases, when you update your AnyLexic, Version 2.0, database version should be updated as well, to support new features or enhancements, introduced in executable files. Usually, the version of database will be automatically updated during the setup of new AnyLexic build. However, in rare cases the database may not be updated. In this case, AnyLexic will inform you that it needs a new version of database.

 

Database version can be manually updated with the help of update scripts. All required scripts are always installed together with AnyLexic, Version 2.0 update into C:\Documents and Settings\All Users\Application Data\AIT\AnyLexic 2.0\DBUpdates\ folder.

noteNote: C:\Documents and Settings\All Users\Application Data\ folder may be hidden. You have to make it visible first to find updates folder.

 

To update database:

1. Сlick Database > Manage menu.

Database_Manage

 

2. Click Run Update Script button in the Database Manager window.

Run_Update_Script

 

3. Select the proper script in the Open Database Update Script window. Depending on the difference in database versions, more than one update may be required to fill the gap between installed database version and required database version.

 

exampleExample: Installed database version is 2.1.0 and software update requires 2.3.0 database version. In this case you should consecutively run two updates (first dbx1to2.alupd and then dbx2to3.alupd). Update files are not necessarily updating from the one number to the next (e.g. dbx1to2.alpud; it can be dbx1to4.alpud etc.).

run_update_script

 

Your current database version can be viewed in the Database Manager window:

database_version_on_window

 

noteNote: AnyLexic does mandatory backup before each database update operation, for maximum security of data in case anything goes wrong during update.

line

See also:

Backup Database

Check Database for Integrity

Restore Database

Repair Database