Hi there. I exported my database sql file and the old table and field names were listed in the file. Anything that can be done to fix this problem?
Upon Export, Old Table/Field Names are Listed in Export
Sorry! I was sooooo tired yesterday that I was brain dead. ha!
So ... I changed table names and field names in Heidi. Then, I exported the database to an sql file. I opened it up and the OLD table and field names were in that file. I restarted Heidi and tried multiple times, but still the same export with the old names.
Also, after changing the table and field names in Heidi, and trying to save my changes, I had various errors popup warning that the old field name was not present. ha! I had to go login to the server and get the changes actually made.
Thanks for any help you might have! I've always done the structure manipulation via PHPMyAdmin on the server, but just found this software a couple days ago and it's REAL nifty and much quicker. :)
To address a related issue, HeidiSQL seems to have trouble remembering file names when exporting data. For example, if I have four databases to back up, with the following paths and names, HeidiSQL will only remember D:\quotation-2026-06-05.sql, not the others. This forces me to re-enter the file names every time I need to back up the data the next day. I believe this problem started about two or three months ago but hasn't been fixed. I'm reporting this to you now, thank you.
Database file names: D:\discuz-2026-06-05.sql D:\manage-2026-06-05.sql D:\maintain-2026-06-05.sql D:\quotation-2026-06-05.sql
Just doing support for HeidiSQL here. You may insert images with the built-in file processor.
Hello,
After your previous reply, I tested this again more carefully and found a more specific behavior.
Previously, I only reported that the SQL export filename was not being remembered. At that time, I had not noticed that if I close the SQL export dialog and open it again, the filename is actually remembered correctly.
The problem seems to happen when exporting multiple databases one after another while keeping the same SQL export dialog open.
Steps to reproduce:
- Open HeidiSQL and connect to a session.
- Go to Tools → Maintenance → SQL export.
- Export database
test1to a file, for example:D:\test1.sql - Keep the SQL export dialog open.
- Change the selected database and export
test2to another file, for example:D:\test2.sql - Close the SQL export dialog.
- Open Tools → Maintenance → SQL export again.
Actual result:
Only the last export filename is remembered in the filename history:
D:\test2.sql
The previous export filename is not remembered:
D:\test1.sql
Expected result:
Both export filenames should be remembered in the filename history, because both files were exported successfully during the same SQL export dialog session.
Additional note:
This may explain why your test result looked normal. If I export one file, close the SQL export dialog, and then open it again, the filename is remembered correctly. The issue only appears when multiple exports are performed in the same SQL export dialog without closing it between exports.
Please login to leave a reply, or register at first.
