Plugin:Dbx mdbx: Difference between revisions

From Miranda NG
Plugin:Dbx mdbx
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:
mdbx_load.exe -n -f "%TEMP%\corrupted.tmp" "path\to\repaired.dat"
mdbx_load.exe -n -f "%TEMP%\corrupted.tmp" "path\to\repaired.dat"
</pre>
</pre>
== Database check ==
mdbx_chk.exe is located in the Miranda root folder.
<pre style="overflow:auto;">
mdbx_chk.exe -v -n -w "path\to\database.dat"
</pre>
{{Note|"problems: wrong order of entries" is a normal situation and should not be considered as error.}}


<translate>
<translate>

Revision as of 21:45, 12 December 2019

Other languages:
Miranda NG MDBX database driver

Filename Dbx_mdbx.dll
Author Miranda NG team
Download links
Stable version: 32-bit, 64-bit
Development version: 32-bit, 64-bit

Warning
Plugin does not work under Wine.

Provides Miranda database support: global settings, contacts, history, settings per contact.

Based on libmdbx library, but contains some changes from the Miranda NG team which are necessary to meet the specific needs of Miranda.

Database repair

mdbx_dump.exe and mdbx_load.exe are located in the Miranda root folder.

mdbx_dump.exe -n -a -f "%TEMP%\corrupted.tmp" "path\to\corrupted.dat"
mdbx_load.exe -n -f "%TEMP%\corrupted.tmp" "path\to\repaired.dat"

Database check

mdbx_chk.exe is located in the Miranda root folder.

mdbx_chk.exe -v -n -w "path\to\database.dat"
<translate> Note</translate>
"problems: wrong order of entries" is a normal situation and should not be considered as error.

This extracts as much data as possible from the corrupted.dat to the temporary file and builds repaired.dat.