We broke a 2.84-million-row InnoDB table on purpose and tried to repair corrupted MySQL database files with MySQL’s own tools and with Stellar Repair for MySQL. On MySQL 8.0, Stellar got back every row the damaged file still held: 2,842,643 of 2,844,047. That is 10,869 more rows than our best scripted salvage, and it needed no server crashes. On MySQL 8.4 LTS, the current long-term release and the one Ubuntu 26.04 installs, it never finished a repair.
This review covers four kinds of damage: corrupt InnoDB leaf pages, a destroyed index root page, a damaged MyISAM index and a folder of orphaned .ibd files. It also covers the MySQL and MariaDB versions the tool opens, how faithful its SQL export is, and what saving straight into a server takes. Every recovered table was compared row by row with the untouched original, never with the preview Stellar shows. Stellar supplied the license key; the method and the verdict are ours.
Tested October 2026 on Stellar Repair for MySQL 9.0.0.8 (Windows 11).
The results in one table
Stellar wins one damage case outright, ties on one and loses three. The version of MySQL that wrote your data folder decides whether it runs at all. The table counts rows that came back byte-identical to the original, not rows the tool reported:
| Damage | MySQL’s own tools | Stellar Repair for MySQL |
|---|---|---|
| 3 corrupt leaf pages in a 2,844,047-row InnoDB table | 2,831,774 rows from a scripted key-range dump, after 29 server crashes. A plain mysqldump stops at row 707,761 | 2,842,643 rows, all identical. The 1,404 missing rows are the ones the destroyed pages held |
| Root page of the clustered index destroyed | 0 rows | 0 rows |
| MyISAM index file damaged, 200,000 rows | REPAIR TABLE: 200,000 identical rows in under a second | 200,000 rows, none identical |
Only the .ibd files survive | IMPORT TABLESPACE: 6 tables in 8 seconds, checksums pass | “No database present in data folder.” |
| Undamaged data folder written by MySQL 8.4 or 9.7 | n/a | No result: none after 12 minutes on 8.4, none after 90 seconds on 9.7 |
The first row is the case people buy this tool for, and there Stellar is the better option. It read past the bad pages instead of crashing the server on them, and it recovered exactly what was physically recoverable. The MyISAM and orphaned-file rows go the other way. MySQL already has a free, exact fix for both, and Stellar got every row of our MyISAM test table wrong. The last row matters most if you run a current server. The version list on the Stellar product page skips 8.4, and in our lab it stopped without a result on every 8.4 and 9.7 data folder we gave it.
Step 1: Build a test set with known checksums
A recovery test is only as good as its reference copy. Every database was loaded from a known source and fingerprinted before anything was damaged. The data server ran Ubuntu 26.04 with MySQL 8.4 from the Ubuntu archive. Docker images of MySQL 8.0, MySQL 9.7 and MariaDB 11.8 wrote the same datasets for the version tests. Stellar ran on a Windows 11 virtual machine with 4 vCPUs and 8 GB of RAM. MySQL 8.0 data was the main test bed, because 8.0.44 is the newest 8.0 build Stellar names as supported.
Three datasets went into the tests, each chosen for what it can prove:
- employees: the MySQL sample database, about 3.9 million rows across six tables. Its loader ships a SHA-256 integrity test, so a restored copy can be checked against known hashes.
- sakila: 16 tables plus 7 views, 6 triggers, 3 stored procedures and 3 functions. That covers the objects a real application schema carries.
- MySQL 8 feature tables: JSON, generated columns, expression defaults, INVISIBLE columns, spatial data, CHECK constraints, BIT, ENUM and SET, BLOB, partitioning, FULLTEXT, foreign keys and off-page MEDIUMTEXT, most with 1,000 rows. The export test gave each feature its own database, because one save crash in a combined database lost several tables at once.
Damage was applied to a stopped server with a seeded random-byte writer. It overwrote whole 16 KiB pages at recorded page numbers, and the md5 of every data file was saved before any recovery tool touched it. MySQL and Stellar then worked on copies of the same damaged bytes. For the verdict, each recovered table was exported to sorted text and compared with the original using comm, so every count in this review is of identical rows. That matters, because the Stellar preview turned out to over-count rows on damaged data. The feature tables were also checked for columns, indexes, constraints and stored objects.
Step 2: Corrupt InnoDB pages and salvage what MySQL can
Three leaf pages of the salaries clustered index were overwritten: pages 1551, 3070 and 4590 out of 6,078 leaf pages. They sit roughly 25, 50 and 75 percent through the table. Each held 468 rows, so 1,404 rows were gone for good and 2,842,643 were still on disk in readable pages. MySQL started normally, logged the bad pages, and died on the first query that touched one:

ERROR 2013: Lost connection to MySQL server during query
On a corrupt InnoDB page, this client error is the visible half of a server crash. The error log carries the real cause: [MY-011906] Database page corruption on disk or a failed file read of page. Right after it come [MY-013183] Assertion failure and “InnoDB: We intentionally generate a memory trap.” InnoDB stops the server deliberately rather than return a page it cannot trust. The systemd unit then restarts it, so the symptom looks like a flaky connection until you read the log.
Before you try any fix, stop MySQL and archive the data directory. Every method below either crashes the server again or writes to these files, and the archive is also the copy Stellar will read later. Take the whole directory, not one database folder, since MySQL 8 keeps table definitions in mysql.ibd:
sudo systemctl stop mysql
sudo tar -C /var/lib -cpf mysql-datadir.tar mysql
The documented response is innodb_force_recovery. The MySQL manual says it lets the server run “even if it detects a corrupt page”. Set level 1 and dump the table:
printf "[mysqld]\ninnodb_force_recovery = 1\n" | sudo tee /etc/mysql/mysql.conf.d/zz-force.cnf
sudo systemctl restart mysql
sudo mysqldump employees salaries > salaries.sql
The dump dies on the same page the query did:
mysqldump: Error 2013: Lost connection to MySQL server during query when dumping table `salaries` at row: 707761
We repeated that dump at every level from 1 to 6. It stopped at row 707,761 on levels 1 to 3 and at row 710,346 on levels 4 to 6, so raising the level bought only 2,585 rows. A full table scan follows the leaf chain, and the first bad page still kills the server. The manual also warns that levels 4 and up “can permanently corrupt data files”, which is why the archive comes first.
What does work is starting each dump past the damage. A range query on the primary key descends from the root to the target leaf and reads forward from there. A dump that starts after a bad page therefore never touches it. The script below dumps by key range. When the server dies, it probes forward with a doubling step until a query succeeds, then carries on. It assumes the first primary key column is also the first column of the table and holds integers, and it relies on systemd restarting MySQL after each crash, which the Ubuntu unit does with Restart=on-failure. Create it:
vim salvage.sh
Add the script exactly as we ran it:
#!/usr/bin/env bash
# Native best-effort salvage around corrupt InnoDB leaf pages: dump by primary-key range, and when the
# server dies on a bad page, restart past it with a doubling skip. Needs innodb_force_recovery >= 1.
# Usage: salvage.sh <db> <table> <first-pk-column> <outdir>
set -uo pipefail
DB="$1"; T="$2"; K="$3"; OUT="$4"; mkdir -p "$OUT"; : > "$OUT/salvage.log"
MYSQL="${MYSQL:-sudo mysql}"; MYSQLDUMP="${MYSQLDUMP:-sudo mysqldump}"; MYSQLADMIN="${MYSQLADMIN:-sudo mysqladmin}"
start=-1; part=0; crashes=0; t0=$(date +%s)
waitup() { for i in $(seq 1 60); do $MYSQLADMIN ping >/dev/null 2>&1 && return 0; sleep 1; done; return 1; }
while :; do
waitup || { echo "server not up" | tee -a "$OUT/salvage.log"; break; }
part=$((part+1)); f="$OUT/part-$part.sql"
$MYSQLDUMP --no-create-info --skip-extended-insert --where="$K > $start" "$DB" "$T" > "$f" 2>"$OUT/err-$part.txt"
rc=$?; n=$(grep -c -E '^INSERT .*\);$' "$f")
last=$(grep -E '^INSERT INTO `[^`]+` VALUES \([0-9-]+,.*\);$' "$f" | tail -1 | sed -E 's/^INSERT INTO `[^`]+` VALUES \(([0-9-]+),.*/\1/')
echo "part=$part where=$K>$start rc=$rc rows=$n last=$last" | tee -a "$OUT/salvage.log"
[ "$rc" -eq 0 ] && break
crashes=$((crashes+1)); [ -z "$last" ] && last=$start
step=1
while :; do
waitup || break
probe=$((last+step))
if $MYSQL -N -e "SELECT $K FROM \`$DB\`.\`$T\` WHERE $K > $probe ORDER BY $K LIMIT 1" >/dev/null 2>&1; then
echo " skip: restart after $K=$probe (skipped $step key values)" | tee -a "$OUT/salvage.log"; start=$probe; break
fi
crashes=$((crashes+1)); step=$((step*2))
done
done
total=$(cat "$OUT"/part-*.sql | grep -c -E '^INSERT .*\);$')
echo "TOTAL rows=$total crashes=$crashes elapsed_s=$(( $(date +%s) - t0 ))" | tee -a "$OUT/salvage.log"
Make it executable and point it at the database, table and first primary key column. Keep innodb_force_recovery = 1 in place while it runs, because each probe that lands on a bad page crashes the server again:
chmod +x salvage.sh
./salvage.sh employees salaries emp_no salvage
Each part line is one dump, and each skip line is the key range given up to get past a bad page:

That run recovered 2,831,759 rows on MySQL 8.4 in 94 seconds. The same script on the MySQL 8.0 copy recovered 2,831,774 rows in 475 seconds, and every row in both matched the original. The cost is the skipped key ranges. Clearing three pages meant stepping over 512, 256 and 512 employee numbers, which drops about 10,900 good rows on top of the 1,404 that were truly lost. A finer search inside each skip would claw some back. Even so, the free route now takes a script, 29 crashes and a clear head, and that is the gap Stellar sells into.
Once the parts are saved, remove the override and restart MySQL. Force recovery blocks INSERT, UPDATE and DELETE, so the rows cannot be loaded anywhere on this server until it is gone:
sudo rm /etc/mysql/mysql.conf.d/zz-force.cnf
sudo systemctl restart mysql
Load the parts into a new table with the same definition, never into the damaged one. The dumps carry no database name, so the target is whatever database you pass to mysql. Each crash also cut the last line of a part short, so load only the complete INSERT lines, which is how the script counts rows too. The wrapper commits them as one transaction instead of one per row, and it restores the UTC time zone the dump header would have set, so TIMESTAMP columns load unshifted:
sudo mysql -e "CREATE DATABASE native; CREATE TABLE native.salaries LIKE employees.salaries"
( echo "SET autocommit=0;"; echo "SET time_zone='+00:00';"; grep -h -E '^INSERT .*\);$' salvage/part-*.sql; echo "COMMIT;" ) | sudo mysql native
Step 3: Install Stellar Repair for MySQL on Windows
Stellar Repair for MySQL is a Windows program, and the lists 64-bit Windows 11, 10, 8.1 and 8. A Linux data folder therefore has to travel to a Windows machine. If you would rather not set one up for a single damaged file, you can also upload the corrupt file to an online MySQL repair and preview the recovered tables before you save anything. The Windows installer is 11.8 MB and carries a valid Authenticode signature issued to “Stellar Information Technology Private Limited”. It installs a 64-bit spmsr.exe plus a licensing agent.
Activation lives under the Activation tab: click the Activation button, paste the key and click Activate. Ours returned “Activation Completed Successfully.” in about three seconds, with no Stellar account involved. The Stellar FAQ says an unactivated copy runs as a demo that repairs and previews but will not save. We activated before the first run, so that limit is their claim, not something we measured.

Copy the archive from Step 2 to the Windows machine over SSH or a file share. Our Stellar runs used the archive of the MySQL 8.0 copy, and Step 6 shows what happens with an 8.4 one. Taking it with MySQL stopped matters, because a copy of a running server catches files mid-write and adds a second corruption. Hash it on the Linux side first:
md5sum mysql-datadir.tar
On Windows, check the same hash in PowerShell before you unpack. Get-FileHash prints it in upper case:
Get-FileHash -Algorithm MD5 mysql-datadir.tar
Unpack it with the tar that ships with Windows 11:
New-Item -ItemType Directory -Force C:\recovery\mysql
tar -xf mysql-datadir.tar -C C:\recovery
Our hashes matched, so Stellar and the native MySQL tools were working on the same bytes.
Step 4: Repair the corrupted table with Stellar
The program opens on a Select Data Folder dialog with a read-only path box, so you cannot paste a path. Browse opens the classic Windows folder tree. Click through to the folder that holds mysql.ibd and the database folders, then click OK:

Stellar then lists the databases it found, all ticked. On a MySQL 8 data folder the list includes #innodb_redo, which is the redo log directory and not a database. Leaving it ticked did no harm in our runs. Untick it anyway, along with anything you do not need, because a smaller selection means a shorter save later. Then click Repair:

On the damaged copy, the repair finished 0.30 seconds after the click, with “Selected databases repaired successfully.” That is far too fast to have read the data, and it had not. The repair step parses table definitions, and the pages are read when you preview or save. On the clean MySQL 8.0 copy the log listed table, view and trigger counts per database, and the tree showed every table:

Clicking a table loads a preview with paging. On the damaged salaries table the log reported “Total records present: 2924445”. That is 80,398 more rows than the table ever held. The saved file later held the correct number, so read the preview as a sign that the table opens, never as a recovery count:

To save, untick everything in the tree except the damaged tables and click Save. Pick SQL Script and choose a destination outside the source folder, since the default is the source folder itself. Saving salaries alone took 897 seconds and wrote a 329 MB file with one insert statement per row. While Stellar has the data folder open, Windows reports the source files as in use by another process, so close the program before you hash or move them. After repair, preview and save, all 160 data files in our source copy still had their original md5. Process Monitor did show Stellar opening mysql.ibd with read and write access, so point it at a copy like this one, never at the data directory of a server you care about.
Each saved file starts with CREATE DATABASE IF NOT EXISTS, a use line for the original database and DROP TABLE IF EXISTS. Imported as it is on the server that holds the damaged table, it drops that table. Copy the file to the Linux server and rewrite the database name on those two lines before importing anything:
sed -i '/DATABASE IF NOT EXISTS\|^[[:space:]]*use[[:space:]]/s/`employees`/`scratch`/' employees_salaries.sql
( echo "SET autocommit=0;"; cat employees_salaries.sql; echo "COMMIT;" ) | sudo mysql
The import creates scratch and loads the rows into scratch.salaries. The wrapper matters on a file this size. Imported plainly, every one of the 2.84 million INSERT lines commits on its own, and our server managed about 190 rows a second that way, roughly four hours for this file. In one transaction the whole file loaded in 6 minutes. On our intact test copy, CHECKSUM TABLE employees.salaries returned the same value before and after, so the import never touched the original. Do not run that check against a damaged table, because the full scan crashes the server.
Step 5: Verify every recovered row
The only number that counts is how many recovered rows are identical to the originals, and that takes a reference copy you trust. We exported the untouched table, the native salvage and the Stellar output to tab-separated text with the same query. Both sort and comm must use the same collation, so set it once for the shell:
export LC_ALL=C
Export the original from the reference copy. If yours lives on another server, run this line there:
sudo mysql -N -B -e "SELECT emp_no,salary,from_date,to_date FROM employees.salaries" | sort > original.tsv
The two recovered sets are the native.salaries table from Step 2 and the scratch.salaries table from Step 4:
sudo mysql -N -B -e "SELECT emp_no,salary,from_date,to_date FROM native.salaries" | sort > native.tsv
sudo mysql -N -B -e "SELECT emp_no,salary,from_date,to_date FROM scratch.salaries" | sort > stellar.tsv
These files come from the MySQL 8.0 copy, which is why the native count below is 2,831,774 and not the 2,831,759 of the 8.4 run. With the three files in place, comm -12 counts the rows present in both files and comm -13 counts rows that never existed in the original:

Stellar returned 2,842,643 rows, every one of them in the original, with zero invented rows. The destroyed pages held random bytes, so every identical row came from an intact page, and the intact pages held exactly 2,842,643 rows. Stellar therefore recovered everything that was physically recoverable, and the 1,404 it missed are the rows on the three destroyed pages. The native salvage is just as clean but 10,869 rows shorter, all of them from the skipped key ranges. On this one scenario, a few corrupt leaf pages on MySQL 8.0, Stellar is the better tool by a measurable margin.
Step 6: Check which MySQL versions it can open
Stellar Repair for MySQL opens data written by MySQL 8.0 and MariaDB 11.8. On data written by MySQL 8.4 it returned nothing in 12 minutes, and on 9.7 nothing in 90 seconds, against 5 seconds for 8.0. Each version got a clean, undamaged data folder with the same databases, and every run started a fresh process:
| Data folder written by | Stellar’s log says | Result |
|---|---|---|
| MySQL 8.0 | Selected database version: 8.x | Repaired in about 5 seconds |
| MySQL 8.4 LTS (Ubuntu package and the official Docker image) | Selected database version: 8.x | Stops after the log header; no error, no progress after 12 minutes |
| MySQL 9.7 LTS | Selected database version: 8.x | Same stall, no result after 90 seconds |
| MariaDB 11.8 LTS | n/a | Repaired in 1 second |
The 8.4 stall reproduced six times, on damaged and undamaged copies and with or without #innodb_redo selected. It happened on folders built by the Ubuntu package and by the official Docker image alike. The process stays responsive but idle: CPU stops, total disk reads stay at 0.3 MB, the status bar returns to Ready, and the log never gets past its first lines:

Process Monitor shows what it was doing when it stopped. After the click, Stellar reads a handful of two-byte header fields from mysql.ibd, the MySQL 8 data dictionary. Then it makes no further file, registry or network call. With mysql.ibd removed, it labels the same data “5.x” and stalls the same way.
The Stellar documentation does not agree with itself here. The product page names “8.0.40 to 8.0.44, and 9.4.0 to 9.5.0”, which leaves out 8.4, yet the same page claims “MySQL versions 3.x to 9.x” and its FAQ says “from 8.0.20 to 9.4”. Read narrowly, 8.4 is unsupported; read broadly, this is a bug. Either way it matters, because 8.4 is the LTS line Ubuntu 26.04 installs. MySQL 8.0 also moved to Oracle Sustaining Support on April 21, 2026, according to the MySQL EOL notice. If your server runs 8.4, expect this build to stop without an error or a result.
Step 7: Destroy the root page and try both tools
Neither tool recovered a single row once page 4 of salaries.ibd, the root of its clustered index, was overwritten. With innodb_force_recovery = 1 the server started, and other tables in the database read fine. Any read of salaries crashed it, though. Every lookup and every scan starts at the root, and the table has no secondary index to come in through. Stellar previewed the table as “Total records present: 0” and saved a 788-byte file holding only the CREATE TABLE statement.
That tells you how Stellar reads InnoDB. It walks the B-tree from the root, as MySQL does, rather than scanning the file for orphaned leaf pages. All 6,078 leaf pages were still intact, and a page-carving tool could in principle have read them. The free one most guides point to, TwinDB undrop-for-innodb, is archived on GitHub with its last commit in August 2023. For this damage the realistic options are a backup or a replica.
Step 8: Repair a MyISAM table marked as crashed
REPAIR TABLE fixed our damaged MyISAM table in under a second with every row intact. Stellar returned the right row count with the wrong data. The test table holds 200,000 rows with INT, DECIMAL, ENUM, VARCHAR and DATETIME columns, built by the same generator on both servers. We overwrote 64 KiB of its .MYI index and left the .MYD data file untouched. The capture below is the MySQL 8.4 copy, shop.orders:

Incorrect key file for table; try to repair it
ERROR 126 means the index file is unreadable while the data file may be fine, which is exactly what we did to it. COUNT(*) still answered 200,000, because MyISAM stores the row count in the header. Only queries that used the damaged index blocks failed. CHECK TABLE confirmed it with “Can’t read indexpage from filepos: 69632” and a final status of Corrupt.
Table is marked as crashed and should be repaired
On MySQL 8.0, the next query after CHECK TABLE flagged the table returned ERROR 145 with this message. On MySQL 8.4 the same query answered 50,000 instead, as the capture shows. Either way the fix is the same statement, run while the server is up:
sudo mysql -e "REPAIR TABLE shop.orders"
On MySQL 8.0 it returned status OK in 0.64 seconds, and all 200,000 rows matched the original. On 8.4 the same repair took 0.36 seconds. The Stellar save of the damaged 8.0 table also held 200,000 rows, but none was identical to the original:
- id, customer_id and amount: right on 199,800 rows, so the numeric columns mostly survived.
- status:
'0'on every row, which is not one of the ENUM values. - note: the 200,000 distinct values collapsed to 5.
- created_at: impossible dates such as
0078-10-14 16:03:62.
The same garbling showed up on an undamaged copy, so it comes from how Stellar reads MyISAM rows with these column types, not from the damage. For MyISAM, use REPAIR TABLE or myisamchk, and consider converting the tables to InnoDB once they are healthy.
Step 9: Recover a database from orphaned .ibd files
When the server is gone and only a database folder of .ibd files survives, transportable tablespaces did the job in 8 seconds. Stellar refused to start. This is the case behind the familiar missing-tablespace error, which we reproduced by moving one file out of a working data folder:

Tablespace is missing for table
ERROR 1812 means the data dictionary in mysql.ibd still knows the table but its .ibd file is gone. We tested the reverse case, files with no dictionary entry. Only the six employees/*.ibd files went to a fresh MySQL 8.0 server, where we created the tables from the schema file and swapped each tablespace in. A repeat on the Ubuntu server with MySQL 8.4 produced the commands below. For every table, discard the empty tablespace:
SET foreign_key_checks=0; ALTER TABLE employees.salaries DISCARD TABLESPACE;
Copy the surviving salaries.ibd into the database directory and give it to the mysql user:
sudo cp salaries.ibd /var/lib/mysql/employees/
sudo chown mysql:mysql /var/lib/mysql/employees/salaries.ibd
Then import it:
SET foreign_key_checks=0; ALTER TABLE employees.salaries IMPORT TABLESPACE; SHOW WARNINGS;
Each import warns “Error opening ‘./employees/salaries.cfg’, will attempt to import without schema verification”. A .cfg file only exists when the tablespace was exported with FLUSH TABLES ... FOR EXPORT. Without it, the table import procedure is only safe when the CREATE TABLE matches the original exactly and the table never had columns added or dropped with ALGORITHM=INSTANT. Both servers must also run the same GA release of MySQL; ours were 8.0.44 into 8.0.44, and 8.4.11 into 8.4.11 on the repeat.
All six tables imported in 8 seconds on MySQL 8.0, where the employees SHA-256 test returned CRC OK and count OK. On MySQL 8.4 they took 4.5 seconds, and CHECKSUM TABLE matched the original on all six. The method needs the original table definitions, so keep your schema file somewhere other than the server. Without one, ibd2sdi salaries.ibd prints the dictionary record stored inside the file as JSON, with every column name and type, which is enough to rebuild the CREATE TABLE by hand.
Stellar answered the same folder with “Error: No database present in data folder.” Pointing it at the database folder itself was rejected the same way. Adding ibdata1, the layout the Stellar knowledge base describes for Linux databases, made the database list appear. The log then labelled the 8.0 data as “5.x”, and the repair stalled exactly as it does on MySQL 8.4.
Step 10: Check the SQL export against MySQL 8 features
On plain tables the export is exact, and on most MySQL 8 features it loses something. Treat a Stellar SQL script as raw data to rebuild from, not a restorable schema. These results come from undamaged MySQL 8.0 tables, one feature per database, imported into a fresh server and compared with the originals. The product page promises support for “spatial, JSON, and complex types like BLOB, TEXT, Vector, and MEDIUMTEXT”, with “defaults and auto-increment preserved”:
| Feature | Rows identical | What changed |
|---|---|---|
| INT, VARCHAR, DATETIME, DECIMAL, DOUBLE, utf8mb4 text | All | Nothing |
| Foreign keys, FULLTEXT index, simple MyISAM table | All | Nothing, if the foreign key file is imported last |
| JSON | 998 of 1,000 | Two documents garbled |
| STORED generated column | All | Turned into a plain column |
| VIRTUAL generated column | 0 | Values NULL or junk, expression lost |
DEFAULT (UUID()) | n/a | Repair crashes (Windows exception 0xc0000094) |
| INVISIBLE column | All | Column becomes visible |
| CHECK constraint | All | Constraint dropped |
| POINT or GEOMETRY | 0 | Values written as the text ‘Spatial Data Type’; SPATIAL index rebuilt as a B-tree on the key |
| BIT with a default | 0 | CREATE TABLE fails on default 'b'101'' |
| BLOB | 0 | Every value written as the text ‘<Blob Data>’ |
| MEDIUMTEXT stored off-page (about 16 KB per row) | 0 | Every value empty |
| SET | 750 of 1,000 | NULL written as an empty string |
| AUTO_INCREMENT after deleting the top 100 rows | All 900 | Counter reset from 1024 to 901, so deleted IDs can be issued again |
| RANGE partitioned table | 0 | No rows and no partitions (the product page lists partition support for MySQL 5.5 to 5.7 and MariaDB) |
| Stored procedures, functions, events | n/a | Not exported |
Two more changes run through most tables and are easy to miss. Ordinary secondary indexes are written with the primary key column first. KEY idx_actor_last_name (last_name) comes back as (actor_id, last_name), which MySQL cannot use for a lookup by last name and which turns a UNIQUE key into one that enforces nothing. Timestamps shift too: every last_update TIMESTAMP we could compare, across 14 sakila tables, came back exactly 5 hours 30 minutes later than the original. A value of 04:34:33 became 10:04:33, although the source server ran on UTC and the Windows machine on UTC+3. The shift is in the Stellar SQL file, not in the import.
The employees database came through with all 3.9 million rows identical, so the core reader is sound on ordinary tables. Getting that far by hand still meant fixing the files. A plain mysql < file import in name order produced these errors:
- ERROR 1046 No database selected: the views and trigger files have no
USEline, and two table files began with leftover text from another database file, one of them a sakila trigger. Delete the leftover text, then add the rightUSEline at the top. - ERROR 1146 on the foreign key file:
employees_foreignkey.sqlsorts beforesalariesandtitles. Import it last. - ERROR 1416 Cannot get geometry object: the sakila
addresstable, all 603 rows, because of the spatial column. - ERROR 1064 near ‘able_id=1105’: one table combined an expression default, JSON and spatial columns. Its CREATE TABLE came out corrupted, and saving its database crashed the program with a stack overflow.
For a damaged production table, save only that table, rename its database as in Step 4, and import it into the scratch schema. Then copy the rows into a table you created from your own schema file. That sidesteps the index, default and constraint changes, and it keeps the timestamp shift where you can see and correct it.
Step 11: Save straight into a MySQL server
Saving directly into MySQL worked only after the Windows machine ran a MySQL 5.x service and had an older 64-bit Connector/ODBC installed. That held even when the target server was remote. On a fresh install the MySQL and MariaDB targets are greyed out, leaving SQL Script, CSV, HTML and XLS:

We added one prerequisite at a time to find what unlocks the option:
- Bundled ODBC driver: Stellar ships
mysql-connector-odbc-5.1.5-win32.msibut does not install it, and a 32-bit driver cannot serve a 64-bit program anyway. Still greyed out. - MySQL 8.4 installed, then Connector/ODBC 26.7 64-bit: still greyed out.
- MySQL 8.4 running as a Windows service: the option unlocks, and Save fails with “MySQL installation not valid. Install MySQL to save repaired database.” MySQL 8.0 as a service gave the same error.
- MySQL 5.7 running as a service: the installation check passes, and the connection fails with “[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified”.
- Connector/ODBC 9.5 64-bit added: “Saving process completed.” in 11.6 seconds into the local server, and in 14.6 seconds into the remote MySQL 8.4 server on Ubuntu.

MySQL installation not valid. Install MySQL to save repaired database.
Process Monitor explains this error. Stellar reads the command line of the MySQL service to find its my.ini, then looks only for registry keys named MySQL Server 5.0, 5.6 or 5.7. A MySQL 8.0 or 8.4 install registers “MySQL Server 8.0” or “MySQL Server 8.4”, so the check fails however correct the installation is. Stopping or removing the 5.7 service brought the error back even for a remote target. A running local 5.x server is therefore a hard requirement for this save path, and MySQL 5.7 itself moved to Sustaining Support in October 2023. If you take this route, treat the 5.7 service as temporary and remove it once the save is done, since that release no longer receives fixes.

Data source name not found and no default driver specified
The ODBC error has a similar cause. Stellar asks Windows for a fixed list of driver names: MySQL ODBC 5.1, 5.2 and 5.3, 8.0 Unicode, and 9.0 to 9.5 Unicode. The current Connector/ODBC registers as “MySQL ODBC 26.7 Unicode Driver”, which is not on the list. Older connectors are still on the Oracle download archive, and 9.5 worked. The connection panel takes a host name or IP, a user name and a password, with no port field. Given all of that, the SQL Script export plus a mysql import with the database renamed, as in Step 4, is the simpler route for almost everyone.
Price, editions and what we did not test
The key we tested is the Technician edition. The buy page listed it at $199 for a one-year license in October 2026, against a struck-through $449. The Toolkit edition, $499 a year, adds a log analyzer and a database converter, and its page claims deleted-record recovery that we did not test. We found no lifetime option. The free demo repairs and previews, so you can see whether Stellar opens your data folder before paying. On MySQL 8.4 it will not.
We did not test the online repair service, Windows on ARM, data written by MySQL 9.4 or 9.5, damaged MariaDB data, or MariaDB output fidelity. MariaDB 11.8 data repaired and previewed, but we did not compare its export row by row the way we did for MySQL 8.0.
Which recovery path to use
Match the tool to the damage and to the version that wrote the data. The same program goes from best option to unusable between those two inputs:
- InnoDB table with a few bad pages, data written by MySQL 8.0, no usable backup: Stellar. Run the free demo first to confirm it opens the folder. Save only the damaged tables as SQL Script, rename the database before importing, and verify the rows against whatever copy you have.
- The same damage on MySQL 8.4 or 9.7: the key-range salvage script above, after archiving the data folder, until Stellar ships a build that names 8.4.
- MyISAM table marked as crashed:
REPAIR TABLE. It is free, exact and takes seconds. - Only the .ibd files survived, or
mysql.ibdis lost: discard and import the tablespaces into tables created from your schema file or fromibd2sdioutput. - Root page of the clustered index destroyed: restore from a backup or promote a replica. Neither tool recovered anything here.
Every case on that list ends better with a recent backup, and the cheapest fix is the one that avoids the repair entirely. A consistent LVM snapshot of the data volume would have turned each of these tests into a routine restore. So would a replica from a Percona and ProxySQL setup or a MariaDB Galera cluster. If you are building a new server, the MySQL install on Ubuntu 26.04 gives you 8.4, which is also the version Stellar cannot open yet. Check that before you buy a license for it.