HeidiSql settings export

Frens's profile image Frens posted 7 years ago in General Permalink

Hello,

I must install my PC again, dont now how to export my database settings if posible

ansgar's profile image ansgar posted 7 years ago Permalink

for exporting settings:

File > Export settings to file

to import it back in a blank HeidiSQL installation:

File > Import settings from file

[expired user #12444]'s profile image [expired user #12444] posted 5 years ago Permalink

Sorry to resurrect an old thread but I have the same problem, however my old computer is not running - all I have are the files from it (mounted in an external drive). How can I get all my previous settings? Many thanks

ansgar's profile image ansgar posted 5 years ago Permalink

Yes, you can. You need your old NTUSER.DAT and a program like RegFileExport to extract the old values, which you just import into your new Windows registry.

  • locate your old NTUSER.DAT. On my Win10, it can be found in C:\Users\(myuser)\NTUSER.DAT
  • download RegFileExport
  • be sure HeidiSQL is not running now!
  • open a command prompt and change to the directory where you downloaded it
  • type in such a command, and use your old NTUSER.DAT from your old Windows installation:
RegFileExport.exe "Z:\Users\geeeb\NTUSER.DAT" "heidisql.reg" "HKEY_CURRENT_USER\Software\HeidiSQL"
  • go to that heidisql.reg file in your Windows Explorer, rightlick it, and click "Merge".
  • restart HeidiSQL, and see if everything's there.
1 attachment(s):
  • merge-reg-file
[expired user #12444]'s profile image [expired user #12444] posted 5 years ago Permalink

Thank you very much for that! I am on Linux so the process was a little different, but it still worked out great.

For Linux users, here is what I did to restore all my servers:

  1. Make sure HeidiSQL is not running.
  2. Locate your old ~/.wine/user.reg and open in a plain text editor.
  3. Copy all the sections starting with [Software\\HeidiSQL\\Servers.
  4. Make a backup copy of ~/.wine/user.reg.
  5. Open ~/.wine/user.reg in a plain text editor.
  6. After the end of the Software\\HeidiSQL] section, paste the stuff you copied and save.
  7. Run HeidiSQL and check all your servers are there.
elcio.paludo's profile image elcio.paludo posted 4 years ago Permalink

Thank you so much for that! You save my life.

acosonic's profile image acosonic posted 1 year ago Permalink

Can you maybe build this into a feature so that we can click export and click imort via some tab?

acosonic's profile image acosonic posted 1 year ago Permalink

It's there, sorry...

I will test if it saves font for gui editor etc...

for exporting settings:

File > Export settings to file

to import it back in a blank HeidiSQL installation:

File > Import settings from file

Please login to leave a reply, or register at first.