<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>MySQL Forums - Data Recovery</title>
        <description>Forum for Data Recovery.</description>
        <link>https://forums.mysql.com/list.php?156</link>
        <lastBuildDate>Sun, 07 Jun 2026 05:41:13 +0000</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://forums.mysql.com/read.php?156,741200,741200#msg-741200</guid>
            <title>Table Problems on legacy databases (1 reply)</title>
            <link>https://forums.mysql.com/read.php?156,741200,741200#msg-741200</link>
            <description><![CDATA[ Hello,<br />
I inherited an old CentOS 7 linux server running mysql 5.744<br />
MySQL is running and there are approximately 15 databases.<br />
I am migrating to Rocky 9 running MySQL 8.4.32<br />
Half of the databases work.  The other half wont work.<br />
No idea what the previous users did when using and uploading data.<br />
<br />
The database folders have idb and frm files.  Anywhere from 100 MB to 3 GB folder size, so some data is there.<br />
<br />
In MySQL Workbench, I can see databases and tables, but getting the error<br />
&quot;Tables could not be fetched&quot;.  Everything looks like the good databases.<br />
The tables are shown as folders, inside folders i see Columns and Index and Foreign Keys folders.<br />
<br />
Using mysql app on the server, I can list databases and tables.<br />
repair tables prints &quot;Table xxx doesn&#039;t exist&quot;<br />
<br />
I cant repair, I cant dump, I cant drop.<br />
<br />
mysqldump of tables is error 1146: doesn&#039;t exist when using LOCK TABLES<br />
mysqlcheck of all database error 2013 lost connection to mysql server when executing &#039;CHECK TABLE&#039;<br />
I modifed the my.cnf file to allow interactive_timeout - 57600 and wait_timeout<br />
<br />
Folders owned by mysql and attributes were 755 and 770.<br />
<br />
any ideas how to repair or recreate the bad databases ?<br />
<br />
<br />
Thank you.]]></description>
            <dc:creator>Vito Cavallo</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Wed, 08 Oct 2025 07:08:24 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,740901,740901#msg-740901</guid>
            <title>Issue with MySQL 8.4.4 binlog recovery in Docker container (1 reply)</title>
            <link>https://forums.mysql.com/read.php?156,740901,740901#msg-740901</link>
            <description><![CDATA[ The official Docker image MySQL 8.4.4 is used. MySQL settings:<br />
<br />
server-id=1  <br />
log-bin=/var/lib/mysql/binlog  <br />
max_binlog_size = 100M  <br />
binlog_expire_logs_seconds = 345600  <br />
binlog_format=ROW  <br />
binlog_row_image=FULL  <br />
gtid_mode=ON  <br />
enforce-gtid-consistency=ON  <br />
<br />
The database backup is done using mysqldump with the following parameters: --single-transaction --master-data=2. The image and container settings used for restoring the database are identical to the production one. The database from the backup is restored without errors.<br />
<br />
When applying the binlog files using mysqlbinlog, I get the error HY000 mysqlbinlog &quot;can&#039;t find record in&quot;. I tried running mysqlbinlog with the parameters --start-position and --start-datetime, but always got errors. The binlog files are not corrupted, and there are no DDL statements in the binlog files (no tables are dropped or created). Backup/restore attempts were made multiple times. Restoring from the binlog files always ended with an error.]]></description>
            <dc:creator>Sergei Peregudov</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Thu, 09 Oct 2025 07:05:38 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,724536,724536#msg-724536</guid>
            <title>Index corruption with import tablespace (no replies)</title>
            <link>https://forums.mysql.com/read.php?156,724536,724536#msg-724536</link>
            <description><![CDATA[ Due to some data loss after a misplaced truncate table, I tried to restore an .idb file using the following procedure:<br />
<br />
alter table x discard tablespace<br />
replaced the x.idb file with one from our veaam backup<br />
alter table x import tablespace<br />
<br />
but this gives me the message:<br />
<br />
Error Code: 1817. Index corrupt: Externally stored column(52) has a reference length of 3 in the cluster index PRIMARY<br />
<br />
The column 52 is a column of type longtext.<br />
<br />
This is innodb running on a Windows server.<br />
<br />
Anyone have an idea of how to proceed? Or another method of restoring the content of the .idb file?]]></description>
            <dc:creator>Marcel van Brakel</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Tue, 28 May 2024 14:23:42 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,724211,724211#msg-724211</guid>
            <title>My MySQL Database corrupted / hacked by ransom (1 reply)</title>
            <link>https://forums.mysql.com/read.php?156,724211,724211#msg-724211</link>
            <description><![CDATA[ MySQL database is corrupted / hacked by ransom and have reduced to 0 bytes.<br />
<br />
However, all databases in the form of .ibd still present in the c:/Xampp/mysql/data/ location. But there is only one .frm (readme.frm) file is available.<br />
<br />
readme.frm is the hackers file.<br />
<br />
Is there any software available for recovery?<br />
<br />
<br />
Also, we have a back file which we have taken 2 months before.<br />
<br />
I have restored the two month backup file and take all the .frm files and copy / paste it to new database. Unfortunately this does not work. MySQL makes errors like &quot;#1932 - Table Database.tablename doesn&#039;t exist in engine&quot;.<br />
<br />
Also, we have taken the ib_logfile0,ib_logfile1 and ibdata1 file from backup folder and data folder from the old (affected) MySQL and replace it into new MySQL. But this is also through the same error.<br />
<br />
Could anyone please help on this?]]></description>
            <dc:creator>Prakash H</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Thu, 09 May 2024 14:12:12 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,723395,723395#msg-723395</guid>
            <title>HOW TO RECOVER MYSQL 5.7 (no replies)</title>
            <link>https://forums.mysql.com/read.php?156,723395,723395#msg-723395</link>
            <description><![CDATA[ We have a MySQL 5.7 Server that is now inaccessible. Last task performed was we ran a query that took several hours and was not completed. We resulted to restarting the services and the server itself hoping to terminate the session from the large query.<br />
 <br />
After restarting the server, we tried to manually start the MySQL server service but it gets &quot;stuck&quot; trying to start running serveral hours without completing.<br />
 <br />
Unfortunately, our database weekly backup has not started prior to the server going down. We need to recover the current data that is in the DB.<br />
 <br />
1. What can we do to be able to start the databse successfully?<br />
2. What is the way to recover the data if the database server will not be started?<br />
3. What are our options to salvage this database completely?]]></description>
            <dc:creator>Patrick Castro</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Thu, 21 Mar 2024 03:16:42 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,722962,722962#msg-722962</guid>
            <title>Recover database from only .ibd file (1 reply)</title>
            <link>https://forums.mysql.com/read.php?156,722962,722962#msg-722962</link>
            <description><![CDATA[ I recently lost all my SQL data as my server was forcefully closed. I only managed to recover the .ibd files and nothing else. I&#039;m wondering if it is still possible to clone the tables from the .ibd files into a new database on a new server. I know the table structure from the top of my head yet I can&#039;t seem to get anything to work... Are there any available tools out there, solutions? or am I screwed up because its a database containing 1200 customers which need access to my service.]]></description>
            <dc:creator>vikas lagerweij</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Mon, 03 Jun 2024 06:01:19 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,710668,710668#msg-710668</guid>
            <title>MySQL 5.6 refuses to start after power outage. (no replies)</title>
            <link>https://forums.mysql.com/read.php?156,710668,710668#msg-710668</link>
            <description><![CDATA[ I have mysql5.1 for years working.<br />
I had FETCH error and browsed I was asked to upgrade to a later version which I upgrade to MySQL 5.6.<br />
I discovered each time power outage,the MySQL service will refuse to start.<br />
I have it in three place and they are same.<br />
I have to use innob_foece_recovery =1-6<br />
to restore it back.<br />
They are troubling me too much and I don&#039;t want to go back to mysql5.1<br />
<br />
Please what do I do?]]></description>
            <dc:creator>Cyprian Okpalaku</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Fri, 17 Nov 2023 06:17:52 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,710015,710015#msg-710015</guid>
            <title>server rebooted, now mysql will not start (1 reply)</title>
            <link>https://forums.mysql.com/read.php?156,710015,710015#msg-710015</link>
            <description><![CDATA[ The server rebooted and mysqld will not start.  I have tried adding the following to my.cnf:<br />
<br />
innodb_force_recovery=1<br />
log_error_verbosity=3<br />
<br />
<br />
Here are the messages that I get:<br />
<br />
 ../bin/mysqld --user=&lt;username&gt;<br />
2023-09-22T01:40:09.496787Z 0 [Note] [MY-013667] [Server] Error-log destination &quot;stderr&quot; is not a file. Can not restore error log messages from previous run.<br />
2023-09-22T01:40:09.317264Z 0 [System] [MY-015015] [Server] MySQL Server - start.<br />
2023-09-22T01:40:09.473095Z 0 [Note] [MY-010098] [Server] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled<br />
2023-09-22T01:40:09.473146Z 0 [Note] [MY-013932] [Server] BuildID[sha1]=9ad00ba9c420608e3d596a40a133fd20d019a80e<br />
2023-09-22T01:40:09.473149Z 0 [Note] [MY-010949] [Server] Basedir set to /home/&lt;usernamte&gt;/mysql-8.1.0-linux-glibc2.28-x86_64/.<br />
2023-09-22T01:40:09.473155Z 0 [System] [MY-010116] [Server] /home/&lt;username&gt;/mysql-8.1.0-linux-glibc2.28-x86_64/bin/mysqld (mysqld 8.1.0) starting as process 159439<br />
2023-09-22T01:40:09.499152Z 0 [Note] [MY-012366] [InnoDB] Using Linux native AIO<br />
2023-09-22T01:40:09.499330Z 0 [Note] [MY-010747] [Server] Plugin &#039;FEDERATED&#039; is disabled.<br />
2023-09-22T01:40:09.499393Z 0 [Note] [MY-010747] [Server] Plugin &#039;ndbcluster&#039; is disabled.<br />
2023-09-22T01:40:09.499408Z 0 [Note] [MY-010747] [Server] Plugin &#039;ndbinfo&#039; is disabled.<br />
2023-09-22T01:40:09.499415Z 0 [Note] [MY-010747] [Server] Plugin &#039;ndb_transid_mysql_connection_map&#039; is disabled.<br />
2023-09-22T01:40:09.501184Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.<br />
2023-09-22T01:40:09.501271Z 1 [Note] [MY-013546] [InnoDB] Atomic write enabled<br />
2023-09-22T01:40:09.501621Z 1 [Note] [MY-012932] [InnoDB] PUNCH HOLE support available<br />
2023-09-22T01:40:09.501668Z 1 [Note] [MY-012944] [InnoDB] Uses event mutexes<br />
2023-09-22T01:40:09.501682Z 1 [Note] [MY-012945] [InnoDB] GCC builtin __atomic_thread_fence() is used for memory barrier<br />
2023-09-22T01:40:09.501695Z 1 [Note] [MY-012946] [InnoDB] !!! innodb_force_recovery is set to 1 !!!<br />
2023-09-22T01:40:09.501722Z 1 [Note] [MY-012948] [InnoDB] Compressed tables use zlib 1.2.13<br />
2023-09-22T01:40:09.503277Z 1 [Note] [MY-012951] [InnoDB] Using hardware accelerated crc32 and polynomial multiplication.<br />
2023-09-22T01:40:09.503584Z 1 [Note] [MY-012203] [InnoDB] Directories to scan &#039;./&#039;<br />
2023-09-22T01:40:09.503656Z 1 [Note] [MY-012204] [InnoDB] Scanning &#039;./&#039;<br />
2023-09-22T01:40:09.562913Z 1 [Note] [MY-012208] [InnoDB] Completed space ID check of 7 files.<br />
2023-09-22T01:40:09.563368Z 1 [Note] [MY-012955] [InnoDB] Initializing buffer pool, total size = 128.000000M, instances = 1, chunk size =128.000000M<br />
2023-09-22T01:40:09.567362Z 1 [Note] [MY-012957] [InnoDB] Completed initialization of buffer pool<br />
2023-09-22T01:40:09.568883Z 0 [Note] [MY-011952] [InnoDB] If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().<br />
2023-09-22T01:40:09.573091Z 1 [Note] [MY-013532] [InnoDB] Using &#039;./#ib_16384_0.dblwr&#039; for doublewrite<br />
2023-09-22T01:40:09.574022Z 1 [Note] [MY-013532] [InnoDB] Using &#039;./#ib_16384_1.dblwr&#039; for doublewrite<br />
2023-09-22T01:40:09.582062Z 1 [Note] [MY-013566] [InnoDB] Double write buffer files: 2<br />
2023-09-22T01:40:09.582081Z 1 [Note] [MY-013565] [InnoDB] Double write buffer pages per instance: 4<br />
2023-09-22T01:40:09.582113Z 1 [Note] [MY-013532] [InnoDB] Using &#039;./#ib_16384_0.dblwr&#039; for doublewrite<br />
2023-09-22T01:40:09.582147Z 1 [Note] [MY-013532] [InnoDB] Using &#039;./#ib_16384_1.dblwr&#039; for doublewrite<br />
2023-09-22T01:40:09.775884Z 1 [ERROR] [MY-013882] [InnoDB] Missing redo log file ./#innodb_redo/#ib_redo1038 (with start_lsn = 3399200768).<br />
2023-09-22T01:40:09.775941Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.<br />
2023-09-22T01:40:10.069122Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine<br />
2023-09-22T01:40:10.069340Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.<br />
2023-09-22T01:40:10.069390Z 0 [ERROR] [MY-010119] [Server] Aborting<br />
2023-09-22T01:40:10.069462Z 0 [Note] [MY-010120] [Server] Binlog end<br />
2023-09-22T01:40:10.069613Z 0 [Note] [MY-015019] [Server] MySQL Server: Plugins Shutdown - start.<br />
2023-09-22T01:40:10.069637Z 0 [Note] [MY-010733] [Server] Shutting down plugin &#039;MyISAM&#039;<br />
2023-09-22T01:40:10.069705Z 0 [Note] [MY-010733] [Server] Shutting down plugin &#039;InnoDB&#039;<br />
2023-09-22T01:40:10.069763Z 0 [Note] [MY-010733] [Server] Shutting down plugin &#039;CSV&#039;<br />
2023-09-22T01:40:10.069778Z 0 [Note] [MY-010733] [Server] Shutting down plugin &#039;daemon_keyring_proxy_plugin&#039;<br />
2023-09-22T01:40:10.069909Z 0 [Note] [MY-015020] [Server] MySQL Server: Plugins Shutdown - end.<br />
2023-09-22T01:40:10.070244Z 0 [System] [MY-010910] [Server] /home/&lt;username&gt;/mysql-8.1.0-linux-glibc2.28-x86_64/bin/mysqld: Shutdown complete (mysqld 8.1.0)  MySQL Community Server - GPL.<br />
2023-09-22T01:40:10.070352Z 0 [Note] [MY-015021] [Server] MySQL Server: Components Shutdown - start.<br />
2023-09-22T01:40:10.070734Z 0 [Note] [MY-015022] [Server] MySQL Server: Components Shutdown - end (with return value = 0).<br />
2023-09-22T01:40:10.070816Z 0 [System] [MY-015016] [Server] MySQL Server - end.<br />
<br />
The redo directory looks like:<br />
ls -alt \#innodb_redo/<br />
total 57601<br />
drwxr-x--- 8 &lt;username&gt; &lt;groupname&gt;    4096 Sep 21 21:40  ..<br />
drwxr-x--- 2 &lt;username&gt; &lt;groupname&gt;    4096 Sep 21 18:36  .<br />
-rw-r----- 1 &lt;username&gt; &lt;groupname&gt; 3276800 Sep 21 05:22 &#039;#ib_redo1085&#039;<br />
-rw-r----- 1 &lt;username&gt; &lt;groupname&gt; 3276800 Sep 21 05:09 &#039;#ib_redo1084&#039;<br />
-rw-r----- 1 &lt;username&gt; &lt;groupname&gt; 3276800 Sep 21 04:43 &#039;#ib_redo1083&#039;<br />
-rw-r----- 1 &lt;username&gt; &lt;groupname&gt; 3276800 Sep 20 10:59 &#039;#ib_redo1037&#039;<br />
-rw-r----- 1 &lt;username&gt; &lt;groupname&gt; 3276800 Sep 20 10:50 &#039;#ib_redo1036&#039;<br />
-rw-r----- 1 &lt;username&gt; &lt;groupname&gt; 3276800 Sep 20 10:33 &#039;#ib_redo1035&#039;<br />
-rw-r----- 1 &lt;username&gt; &lt;groupname&gt; 3276800 Sep 20 10:14 &#039;#ib_redo1034&#039;<br />
-rw-r----- 1 &lt;username&gt; &lt;groupname&gt; 3276800 Sep 20 09:57 &#039;#ib_redo1033&#039;<br />
-rw-r----- 1 &lt;username&gt; &lt;groupname&gt; 3276800 Sep 20 09:39 &#039;#ib_redo1032&#039;<br />
-rw-r----- 1 &lt;username&gt; &lt;groupname&gt; 3276800 Sep 20 09:21 &#039;#ib_redo1031&#039;<br />
-rw-r----- 1 &lt;username&gt; &lt;groupname&gt; 3276800 Sep 20 09:04 &#039;#ib_redo1030&#039;<br />
-rw-r----- 1 &lt;username&gt; &lt;groupname&gt; 3276800 Sep 20 08:47 &#039;#ib_redo1029&#039;<br />
-rw-r----- 1 &lt;username&gt; &lt;groupname&gt; 3276800 Sep 20 08:29 &#039;#ib_redo1028&#039;<br />
-rw-r----- 1 &lt;username&gt; &lt;groupname&gt; 3276800 Sep 20 08:11 &#039;#ib_redo1027&#039;<br />
-rw-r----- 1 &lt;username&gt; &lt;groupname&gt; 3276800 Sep 20 07:53 &#039;#ib_redo1026&#039;<br />
-rw-r----- 1 &lt;username&gt; &lt;groupname&gt; 3276800 Sep 20 07:35 &#039;#ib_redo1025&#039;<br />
-rw-r----- 1 &lt;username&gt; &lt;groupname&gt; 3276800 Sep 20 07:17 &#039;#ib_redo1024&#039;<br />
-rw-r----- 1 &lt;username&gt; &lt;groupname&gt; 3276800 Sep 20 07:00 &#039;#ib_redo1023&#039;<br />
<br />
ls -alth<br />
total 2.9G<br />
drwxr-x---  8 &lt;username&gt; &lt;groupname&gt; 4.0K Sep 21 22:58  .<br />
-rw-r-----  1 &lt;username&gt; &lt;groupname&gt; 6.1K Sep 21 18:45  &lt;hostname&gt;.err<br />
drwxr-x---  2 &lt;username&gt; &lt;groupname&gt; 4.0K Sep 21 18:36 &#039;#innodb_redo&#039;<br />
-rw-r-----  1 &lt;username&gt; &lt;groupname&gt; 192K Sep 21 05:22 &#039;#ib_16384_0.dblwr&#039;<br />
-rw-r-----  1 &lt;username&gt; &lt;groupname&gt;  12M Sep 21 05:22  ibdata1<br />
-rw-r-----  1 &lt;username&gt; &lt;groupname&gt;  16M Sep 21 05:22  undo_001<br />
-rw-r-----  1 &lt;username&gt; &lt;groupname&gt;  16M Sep 21 05:22  undo_002<br />
-rw-r-----  1 &lt;username&gt; &lt;groupname&gt;  24M Sep 21 05:22  mysql.ibd<br />
-rw-r-----  1 &lt;username&gt; &lt;groupname&gt; 805M Sep 21 05:22  binlog.000003<br />
-rw-r-----  1 &lt;username&gt; &lt;groupname&gt; 8.2M Sep 21 05:21 &#039;#ib_16384_1.dblwr&#039;<br />
-rw-r-----  1 &lt;username&gt; &lt;groupname&gt;   48 Sep 17 15:31  binlog.index<br />
-rw-r-----  1 &lt;username&gt; &lt;groupname&gt; 1.1G Sep 17 15:31  binlog.000002<br />
-rw-r-----  1 &lt;username&gt; &lt;groupname&gt; 1.1G Sep 14 21:03  binlog.000001<br />
drwxr-x---  2 &lt;username&gt; &lt;groupname&gt; 4.0K Sep 13 21:06  SIMULATIONS<br />
-rw-r-----  1 &lt;username&gt; &lt;groupname&gt;  12M Sep 13 20:47  ibtmp1<br />
drwxr-x---  2 &lt;username&gt; &lt;groupname&gt; 4.0K Sep 13 20:47 &#039;#innodb_temp&#039;<br />
-rw-r-----  1 &lt;username&gt; &lt;groupname&gt; 5.5K Sep 13 20:43  ib_buffer_pool<br />
drwxr-x---  2 &lt;username&gt; &lt;groupname&gt; 4.0K Sep 13 20:43  sys<br />
drwxr-x---  2 &lt;username&gt; &lt;groupname&gt; 4.0K Sep 13 20:42  mysql<br />
-rw-------  1 &lt;username&gt; &lt;groupname&gt; 1.7K Sep 13 20:42  private_key.pem<br />
-rw-r--r--  1 &lt;username&gt; &lt;groupname&gt;  452 Sep 13 20:42  public_key.pem<br />
-rw-r--r--  1 &lt;username&gt; &lt;groupname&gt; 1.1K Sep 13 20:42  client-cert.pem<br />
-rw-------  1 &lt;username&gt; &lt;groupname&gt; 1.7K Sep 13 20:42  client-key.pem<br />
-rw-r--r--  1 &lt;username&gt; &lt;groupname&gt; 1.1K Sep 13 20:42  server-cert.pem<br />
-rw-------  1 &lt;username&gt; &lt;groupname&gt; 1.7K Sep 13 20:42  server-key.pem<br />
-rw-r--r--  1 &lt;username&gt; &lt;groupname&gt; 1.1K Sep 13 20:42  ca.pem<br />
-rw-------  1 &lt;username&gt; &lt;groupname&gt; 1.7K Sep 13 20:42  ca-key.pem<br />
drwxr-x---  2 &lt;username&gt; &lt;groupname&gt; 8.0K Sep 13 20:42  performance_schema<br />
-rw-r-----  1 &lt;username&gt; &lt;groupname&gt;   56 Sep 13 20:42  auto.cnf<br />
drwxrwx--- 10 &lt;username&gt; &lt;groupname&gt; 4.0K Sep 13 20:42  ..<br />
<br />
This is a user-space installation which means that I start with:<br />
mysqld --user=&lt;username&gt;<br />
<br />
I have been putting research simulation results in it for the past week or so basically nonstop.  I had probably 13 different threads adding to the database.  I have another copy of the data (the original results from the simulations) but I would prefer not to spend another week waiting for them to be placed in the database.  I&#039;m also pretty discouraged that the first hiccup killed the database.  Is there anything that I should be doing to make this less likely?  Thank you for your help.]]></description>
            <dc:creator>Troy Rockwood</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Sun, 22 Oct 2023 16:31:16 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,709887,709887#msg-709887</guid>
            <title>Error: MySQL shutdown unexpectedly - ibdata1 is not working (no replies)</title>
            <link>https://forums.mysql.com/read.php?156,709887,709887#msg-709887</link>
            <description><![CDATA[ Hi,<br />
my problem is that MySQL on XAMPP is not working for me. I&#039;m getting an error like this.<br />
<br />
&quot;13:45:43 [mysql] Error: MySQL shutdown unexpectedly.<br />
13:45:43 [mysql] This may be due to a blocked port, missing dependencies,<br />
13:45:43 [mysql] improper privileges, a crash, or a shutdown by another method.<br />
13:45:43 [mysql] Press the Logs button to view error logs and check<br />
13:45:43 [mysql] the Windows Event Viewer for more clues<br />
13:45:43 [mysql] If you need more help, copy and post this<br />
13:45:43 [mysql] entire log window on the forums&quot;<br />
<br />
I haven&#039;t started my computer for a long time. Today I decided to run it and see my site on XAMPP. Everything was working until I logged into wp-admin and hit the &quot;updates&quot; tab because there was a red circle with the number 11 next to it.<br />
<br />
After this incident I lost contact with XAMPP. Since then, I don&#039;t want to start MySQL.<br />
<br />
I&#039;ve tried with the Backup folder and so on, it used to help when I had a similar problem, but now it doesn&#039;t work.<br />
<br />
The problem is with the ibdata1 file. It was probably corrupted, but I don&#039;t know how.<br />
<br />
I&#039;ve been working on this page for a long time and I don&#039;t want to lose it just like that.<br />
<br />
I need help, any advice please.<br />
<br />
__<br />
<br />
I also tried this.<br />
<br />
I copied the contents of the Backup folder to a new data folder. Later, with data_old, I copied the site base, but without the ibdata1.<br />
<br />
The database started, but because entering it, the following error appears in phpMyAdmin:<br />
<br />
&quot;#1932 - Table &#039;esklimos.wp_actionscheduler_groups&#039; doesn&#039;t exist in engine&quot;<br />
<br />
The site is Wordpress.]]></description>
            <dc:creator>Baracs Baracs</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Thu, 31 Aug 2023 12:00:45 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,709831,709831#msg-709831</guid>
            <title>Rebuild a broken mysql database using .frm or .ibd data. SQL files are 0byte. Resynchronize mysql Software for Windows to restore .ibd data. (1 reply)</title>
            <link>https://forums.mysql.com/read.php?156,709831,709831#msg-709831</link>
            <description><![CDATA[ MySQL files (after MySQL crashed) have reduced to 0 bytes.<br />
<br />
However, all databases in the form of .ibd and .frm are still present in the /var/lib/mysql folder.<br />
<br />
Is there any software available for recovery?<br />
<br />
Free of charge? Open source?<br />
<br />
I tried to restore / overwrite these .frm and .ibd into a new database (using a guide). Unfortunately this does not work. MySQL makes errors and can&#039;t read the columns anymore.<br />
<br />
After trying to recover the corrupted MySQL database or IBD DATA with a new MySQL.For this I created and overwrote the .ibd file and ran the commands:(ALTER TABLE tablename DISCARD TABLESPACE;)(ALTER TABLE tablename IMPORT TABLESPACE;)did not work! :(<br />
<br />
Can someone please help me?The platform does not matter, no matter if it is Linux, Mac or Windows. The program should be free of charge.<br />
<br />
Thanks a lot!]]></description>
            <dc:creator>Sero Hazr</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Tue, 12 Dec 2023 05:07:27 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,709823,709823#msg-709823</guid>
            <title>MySQL data recovery with IBD or FROM based software. (1 reply)</title>
            <link>https://forums.mysql.com/read.php?156,709823,709823#msg-709823</link>
            <description><![CDATA[ MySQL data recovery with IBD or FROM based software.<br />
<br />
<br />
Hello Community.<br />
<br />
After trying to recover the corrupted MySQL database or IBD DATA with a new MySQL.<br />
<br />
For this I created and overwrote the .ibd file and ran the commands:<br />
(ALTER TABLE tablename DISCARD TABLESPACE;)<br />
(ALTER TABLE tablename IMPORT TABLESPACE;)<br />
<br />
did not work! :(<br />
<br />
I am looking for a program similar to &quot;Stellar Repair for MySQL&quot;. But it should be free. I don&#039;t spend 199 Euro for it! :)<br />
<br />
Can someone please help me?<br />
The platform does not matter, no matter if it is Linux, Mac or Windows. The program should be free of charge.<br />
<br />
Thanks a lot!]]></description>
            <dc:creator>Sero Hazr</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Mon, 06 Nov 2023 07:04:18 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,708606,708606#msg-708606</guid>
            <title>Deleted a table manually and MySQL Server isn&#039;t running anymore (no replies)</title>
            <link>https://forums.mysql.com/read.php?156,708606,708606#msg-708606</link>
            <description><![CDATA[ I had a bug in my code which kept writing data to a table for gigabytes, tried ```DELETE FROM TABLENAME``` but it was taking forever, so I went to the Data directory and manually deleted *TABLENAME.ibd*<br />
<br />
Now if I start MySQL server, I get this error:<br />
<br />
    2023-03-31T09:48:13.913658Z 1 [Warning] [MY-013541] [InnoDB] Doublewrite page 523 for {space: 17339, page_no:861324} could not be restored. File name unknown for tablespace ID 17339<br />
    2023-03-31T09:48:13.915373Z 1 [ERROR] [MY-012179] [InnoDB] Could not find any file associated with the tablespace ID: 17339<br />
    2023-03-31T09:48:13.916478Z 1 [ERROR] [MY-012964] [InnoDB] Use --innodb-directories to find the tablespace files. If that fails then use --innodb-force-recovery=1 to ignore this and to permanently lose all changes to the missing tablespace(s)<br />
    2023-03-31T09:48:14.019872Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.<br />
    2023-03-31T09:48:14.041689Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine<br />
    2023-03-31T09:48:14.052947Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.<br />
    2023-03-31T09:48:14.058936Z 0 [ERROR] [MY-010119] [Server] Aborting<br />
    2023-03-31T09:48:14.091527Z 0 [System] [MY-010910] [Server] C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe: Shutdown complete (mysqld 8.0.28)  MySQL Community Server - GPL.<br />
<br />
Then I added: *innodb-force-recovery=1* to *my.ini*, it&#039;s getting stuck in &quot;starting&quot; and the log file shows this error:<br />
<br />
    2023-03-31T10:01:43.226457Z 0 [System] [MY-010232] [Server] XA crash recovery finished.<br />
    mysqld: Tablespace is missing for table db/tablename.<br />
<br />
Created the table on a PC and copied it to the same folder, but that didn&#039;t work either cause I think the tablespace ID doesn&#039;t match the one I deleted.<br />
<br />
 - So, is there a solution? Or is it possible to create the same table on a different PC but change the tablespace ID to 17339?<br />
 - Removed *innodb-force-recovery=1* my *my.ini*, now the log doesn&#039;t show any error, but the service is stuck on Starting! Neither changing to Running nor Stopping/Stopped.<br />
 - Tried this tool: <a href="https://mysql.recoverytoolbox.com/"  rel="nofollow">https://mysql.recoverytoolbox.com/</a> , but when I put the folder: ```C:\ProgramData\MySQL\MySQL Server 8.0\Data``` it shows an error: ```No database found.```<br />
I&#039;m browsing the folder and all the databases are there!<br />
 - Is there a way to ignore the entire schema which contains the missing table when starting the server?<br />
 - Starting with *innodb-force-recovery=1* gives this error in the log:<br />
<br />
&gt; 2023-03-31T11:18:54.572788Z 1 [ERROR] [MY-011971] [InnoDB] Tablespace<br />
&gt; &#039;innodb_undo_001&#039; Page [page id: space=4294967279, page number=108805]<br />
&gt; log sequence number 905282159231 is in the future! Current system log<br />
&gt; sequence number 674565298710. 2023-03-31T11:18:54.574925Z 1 [ERROR]<br />
&gt; [MY-011972] [InnoDB] Your database may be corrupt or you may have<br />
&gt; copied the InnoDB tablespace but not the InnoDB log files. Please<br />
&gt; refer to<br />
&gt; <a href="http://dev.mysql.com/doc/refman/8.0/en/forcing-innodb-recovery.html"  rel="nofollow">http://dev.mysql.com/doc/refman/8.0/en/forcing-innodb-recovery.html</a><br />
&gt; for information about forcing recovery.<br />
<br />
Help! I&#039;m desperate and I don&#039;t know what to do anymore]]></description>
            <dc:creator>Othman K</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Fri, 31 Mar 2023 11:40:18 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,707547,707547#msg-707547</guid>
            <title>is there any possibility to commit transaction during mysql recovery (no replies)</title>
            <link>https://forums.mysql.com/read.php?156,707547,707547#msg-707547</link>
            <description><![CDATA[ Hello dears,<br />
If I have configured mysql replication by semi-sync with after_sync, after master syncs the binary to disk, but before receipt received from slave, the master exited by accident such as power failure or hardware issue. under this situation, if master restarts, is there any chance that the uncommitted transaction commit?]]></description>
            <dc:creator>Yihua Li</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Thu, 23 Feb 2023 01:17:44 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,706669,706669#msg-706669</guid>
            <title>extract data from an array of json objects (no replies)</title>
            <link>https://forums.mysql.com/read.php?156,706669,706669#msg-706669</link>
            <description><![CDATA[ Hi,<br />
<br />
DB : mysql8<br />
server : debian 10<br />
php 7.4<br />
<br />
<br />
question 1: is it better to have 10000 rows which contains a Json field (3 levels) or 100,000 rows without json field? what is the fastest?<br />
<br />
<br />
Question 2 : for my understanding<br />
<br />
I would like to know what SQL query to perform to extract data from a json object array<br />
<br />
<br />
For example, extract data where style = Hard<br />
<br />
<br />
I tried :<br />
SELECT *<br />
FROM myTable<br />
WHERE disc-&gt;&gt;&quot;$.Style&quot; = &quot;Hard&quot;<br />
<br />
how to get to the lower level ?<br />
<br />
<br />
MyTable : <br />
id = int<br />
productor = string<br />
disc = json<br />
<br />
<br />
Here is the structure of my object &quot;disc&quot;<br />
<br />
[<br />
    {<br />
        &quot;Artist&quot;: &quot;AC/DC&quot;,<br />
        &quot;Year&quot; : 2010,<br />
        &quot;Album&quot;: [<br />
                &quot;AlbumName&quot;: &quot;Puissance&quot;,<br />
                &quot;Style&quot; : &quot;Hard&quot;<br />
        ]<br />
    },    {<br />
        &quot;Artist&quot;: &quot;U2&quot;,<br />
        &quot;Year&quot; : 2011,<br />
        &quot;Album&quot;: [<br />
                &quot;AlbumName&quot;: &quot;Fake&quot;,<br />
                &quot;Style&quot; : &quot;Pop&quot;<br />
        ]<br />
    },    {<br />
        &quot;Artist&quot;: &quot;IRON&quot;,<br />
        &quot;Year&quot; : 2014,<br />
        &quot;Album&quot;: [<br />
                &quot;AlbumName&quot;: &quot;New&quot;,<br />
                &quot;Style&quot; : &quot;Hard&quot;<br />
        ]<br />
    }<br />
]<br />
    <br />
Thanks for your feedback]]></description>
            <dc:creator>TOM BRICOREUR</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Sun, 06 Nov 2022 22:02:40 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,706363,706363#msg-706363</guid>
            <title>Tables got locked when we try to import table data from mysql dump file (no replies)</title>
            <link>https://forums.mysql.com/read.php?156,706363,706363#msg-706363</link>
            <description><![CDATA[ I am trying to import a dump file which consists of a table with its data c_emailnotificationtemplate which was generated by this command :-<br />
<br />
mysqldump --host=10.88.129.238 --user=root --password client_1002 c_emailnotificationtemplate --single-transaction --set-gtid-purged=OFF &gt; c_emailnotificationtemplate.sql<br />
<br />
But when I am trying to import this c_emailnotificationtemplate.sql to my database , my database gets locked , I am not able perform any query also data is not get inserted on the table.<br />
<br />
I tried to add --skip-lock-tables on the command but it doesn&#039;t work<br />
<br />
so is there any way I can skip the lock operation which is happening when I am trying to import the sql file.<br />
<br />
some details database:- client_1002 <br />
 tablename:- c_emailnotificationtemplate <br />
db instance :- gcp cloud sql (mysql8)]]></description>
            <dc:creator>Nishit kumar</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Fri, 30 Sep 2022 10:11:16 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,703871,703871#msg-703871</guid>
            <title>Views not correctly exported to dump file (10 replies)</title>
            <link>https://forums.mysql.com/read.php?156,703871,703871#msg-703871</link>
            <description><![CDATA[ When I create a Self-Contained File using Data Export to a dump file, views are defined like this in the dump file insead of the original format below. If <br />
<br />
I use a batch file to do nightly backups using mysqldump.exe<br />
<br />
--- DUMP FILE SECTION FOR VIEW---<br />
<br />
CREATE <br />
    ALGORITHM = UNDEFINED <br />
    DEFINER = `root`@`localhost` <br />
    SQL SECURITY DEFINER<br />
VIEW `hto_fcd`.`vw_charges` AS<br />
    SELECT <br />
        1 AS `BillingAcctNo`,<br />
        1 AS `CompanyNo`,<br />
        1 AS `StandingCd`,<br />
        1 AS `CustomerTypeCd`,<br />
        1 AS `InvoiceGroupCd`,<br />
        1 AS `RecordNo`,<br />
        1 AS `ChargeBatchNo`,<br />
        1 AS `AcctNo`,<br />
        1 AS `HaulCd`,<br />
        1 AS `PlanNo`,<br />
        1 AS `PrechargeNo`,<br />
        1 AS `TicketStopNo`,<br />
        1 AS `BillingDesc`,<br />
        1 AS `AutoChargeNo`,<br />
        1 AS `EffectiveDate`,<br />
        1 AS `Units`,<br />
        1 AS `UnitRate`,<br />
        1 AS `TotalCharge`,<br />
        1 AS `ClearedBit`,<br />
        1 AS `InvoiceNo`,<br />
        1 AS `HideBit`<br />
--- END DUMP FILE ---<br />
<br />
--- ORIGINAL VIEW FORMAT ---<br />
CREATE <br />
    ALGORITHM = UNDEFINED <br />
    DEFINER = `root`@`localhost` <br />
    SQL SECURITY DEFINER<br />
VIEW `vw_charges` AS<br />
    SELECT <br />
        `a`.`BillingAcctNo` AS `BillingAcctNo`,<br />
        `account`.`CompanyNo` AS `CompanyNo`,<br />
        `account`.`StandingCd` AS `StandingCd`,<br />
        `account`.`CustomerTypeCd` AS `CustomerTypeCd`,<br />
        `account`.`InvoiceGroupCd` AS `InvoiceGroupCd`,<br />
        `charge`.`RecordNo` AS `RecordNo`,<br />
        `charge`.`ChargeBatchNo` AS `ChargeBatchNo`,<br />
        `charge`.`AcctNo` AS `AcctNo`,<br />
        `charge`.`HaulCd` AS `HaulCd`,<br />
        `charge`.`PlanNo` AS `PlanNo`,<br />
        `charge`.`PrechargeNo` AS `PrechargeNo`,<br />
        `charge`.`TicketStopNo` AS `TicketStopNo`,<br />
        `charge`.`BillingDesc` AS `BillingDesc`,<br />
        `charge`.`AutoChargeNo` AS `AutoChargeNo`,<br />
        `charge`.`EffectiveDate` AS `EffectiveDate`,<br />
        `charge`.`Units` AS `Units`,<br />
        `charge`.`UnitRate` AS `UnitRate`,<br />
        `charge`.`TotalCharge` AS `TotalCharge`,<br />
        `charge`.`ClearedBit` AS `ClearedBit`,<br />
        `charge`.`InvoiceNo` AS `InvoiceNo`,<br />
        `charge`.`HideBit` AS `HideBit`<br />
    FROM<br />
        (((((`charge`<br />
        JOIN `pre_charge` ON (((`pre_charge`.`RecordNo` = `charge`.`PrechargeNo`)<br />
            AND (`pre_charge`.`HaulCd` = `charge`.`HaulCd`)<br />
            AND (`pre_charge`.`HideBit` = 0))))<br />
        LEFT JOIN `haul_plan` ON (((`haul_plan`.`RecordNo` = `charge`.`PlanNo`)<br />
            AND (`charge`.`HaulCd` = &#039;HAUL&#039;))))<br />
        LEFT JOIN `route_plan` ON (((`route_plan`.`RecordNo` = `charge`.`PlanNo`)<br />
            AND (`charge`.`HaulCd` = &#039;ROUTE&#039;))))<br />
        JOIN (SELECT <br />
            `account`.`RecordNo` AS `RecordNo`,<br />
                (CASE<br />
                    WHEN<br />
                        ((`account`.`ParentAcctNo` = 0)<br />
                            OR (`account`.`BillToSelfBit` = 1))<br />
                    THEN<br />
                        `account`.`RecordNo`<br />
                    ELSE `account`.`ParentAcctNo`<br />
                END) AS `BillingAcctNo`<br />
        FROM<br />
            `account`) `a` ON ((`a`.`RecordNo` = `charge`.`AcctNo`)))<br />
        LEFT JOIN `account` ON ((`account`.`RecordNo` = `a`.`BillingAcctNo`)))<br />
    WHERE<br />
        ((`charge`.`HideBit` = 0)<br />
            AND (IFNULL(`haul_plan`.`HideBit`, 0) = 0)<br />
            AND (IFNULL(`route_plan`.`HideBit`, 0) = 0))<br />
--- END ORIGINAL FORMAT --<br />
<br />
I can copy and paste between databases but I have dozens of views. Is there a way to export properly in a dump file?]]></description>
            <dc:creator>JK Heydt</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Tue, 12 Apr 2022 14:33:00 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,703040,703040#msg-703040</guid>
            <title>Is it possible to repair this? (1 reply)</title>
            <link>https://forums.mysql.com/read.php?156,703040,703040#msg-703040</link>
            <description><![CDATA[ My Mysql installation crashed with the error &quot;Aria recovery failed. Please run aria_chk -r&quot; (this is MariaDb). There is only one database with the aria format (Mysql) so I did what was asked. Unfortunately it looks like aria_chk truncates all tables. So all the meta information of my installation is gone and I can&#039;t even login to this installation anymore as my username/password is no longer recognized.<br />
<br />
I made a backup before running aria_chk. But the backup before the crash is long enough ago that would like to recover my data. These are nearly all InnoDb tables. <br />
<br />
I had thought that having all the ib*, *.frm and *.ibd files I had all relevant information and there would be some tool available to rebuild the meta database. But I can&#039;t find anything on the internet. The only thing I found are things like mysqlfrm that recover in a complicated way a small amount of information. Not useful for recovering hundreds of tables.<br />
<br />
So my question is whether there are options to recover this installation.]]></description>
            <dc:creator>Wim Roffel</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Thu, 17 Feb 2022 19:22:11 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,702901,702901#msg-702901</guid>
            <title>Recover database from a computer dump? (7 replies)</title>
            <link>https://forums.mysql.com/read.php?156,702901,702901#msg-702901</link>
            <description><![CDATA[ Hi, I recently finished setting up my new computer, and I was just transferring over my MySQL database. However, I never made a proper dump of the database on my MySQl server, I only have the actual server on a backup of everything on my old computer. Is there any way I can salvage my database from this backup?<br />
Many thanks]]></description>
            <dc:creator>Hayley Galic</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Thu, 10 Feb 2022 03:28:46 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,701390,701390#msg-701390</guid>
            <title>Restore from binlog (no replies)</title>
            <link>https://forums.mysql.com/read.php?156,701390,701390#msg-701390</link>
            <description><![CDATA[ Hi,<br />
<br />
I&#039;am curently testing backup restore scenario of a mysql database.<br />
<br />
I tried to recover a record from a binlog.<br />
<br />
In the example below :<br />
1 - I switch the binlog<br />
2 - I clean the binlog<br />
3 - insert data in my table<br />
4 - truncate the table<br />
<br />
<br />
mysql&gt; show binary logs;<br />
+----------------------+-----------+-----------+<br />
| Log_name             | File_size | Encrypted |<br />
+----------------------+-----------+-----------+<br />
| localhost-bin.000017 |       196 | No        |<br />
+----------------------+-----------+-----------+<br />
1 row in set (0.00 sec)<br />
<br />
mysql&gt; use tmatt;<br />
Reading table information for completion of table and column names<br />
You can turn off this feature to get a quicker startup with -A<br />
<br />
Database changed<br />
mysql&gt; INSERT INTO test_restauration(message,created_at) VALUES(&#039;TEST - RESTAURATION AFTER MYSQLDUMP TOTO&#039;,NOW());<br />
Query OK, 1 row affected (0.03 sec)<br />
<br />
mysql&gt; select * from test_restauration;<br />
+----+------------------------------------------+---------------------+<br />
| id | message                                  | created_at          |<br />
+----+------------------------------------------+---------------------+<br />
|  1 | TEST - RESTAURATION BEFORE MYSQLDUMP     | 2022-01-21 10:32:04 |<br />
|  2 | TEST - RESTAURATION AFTER MYSQLDUMP TOTO | 2022-01-21 11:24:44 |<br />
+----+------------------------------------------+---------------------+<br />
2 rows in set (0.00 sec)<br />
<br />
mysql&gt; truncate table test_restauration;<br />
Query OK, 0 rows affected (0.08 sec)<br />
<br />
mysql&gt; select * from test_restauration;<br />
Empty set (0.00 sec)<br />
<br />
<br />
<br />
New, i backup the binlog and analyse the content to find the position from and to i need to recover to get my delete record (in my example, i have two record, ic onsidere that the first record will be recover the full backup)<br />
<br />
[root@tmysql test_backup]# mysqlbinlog -u${MYSQL_USER} -h${MYSQL_HOST} --read-from-remote-server  --raw localhost-bin.000017<br />
<br />
<br />
<br />
<br />
[root@tmysql test_backup]# mysqlbinlog -v /tmp/test_backup/localhost-bin.000017<br />
<br />
[...]<br />
<br />
BINLOG &#039;<br />
7InqYRMBAAAASAAAAK8BAAAAANgAAAAAAAEABXRtYXR0ABF0ZXN0X3Jlc3RhdXJhdGlvbgADAw8S<br />
A/8AAAABAQACAQhEJnje<br />
7InqYR4BAAAAVgAAAAUCAAAAANgAAAAAAAEAAgAD/wACAAAAKFRFU1QgLSBSRVNUQVVSQVRJT04g<br />
QUZURVIgTVlTUUxEVU1QIFRPVE+Zq+q2LE/rtW4=<br />
&#039;/*!*/;<br />
### INSERT INTO `tmatt`.`test_restauration`<br />
### SET<br />
###   @1=2<br />
###   @2=&#039;TEST - RESTAURATION AFTER MYSQLDUMP TOTO&#039;<br />
###   @3=&#039;2022-01-21 11:24:44&#039;<br />
# at 517<br />
<br />
[...]<br />
<br />
<br />
<br />
<br />
And i restore my data from the binlog.<br />
<br />
<br />
[root@tmysql test_backup]# mysqlbinlog --start-position=4 --stop-position=625 /tmp/test_backup/localhost-bin.000017 | mysql -u${MYSQL_USER} -h${MYSQL_HOST} tmatt<br />
<br />
<br />
But my table is empty. I have insert before restore a record to ensure that the truncate in the binlog not apply.<br />
<br />
mysql&gt; select * from test_restauration;<br />
+----+--------------------------------------------+---------------------+<br />
| id | message                                    | created_at          |<br />
+----+--------------------------------------------+---------------------+<br />
|  1 | TEST - RESTAURATION AFTER MYSQLDUMP TOTO 2 | 2022-01-21 11:38:33 |<br />
+----+--------------------------------------------+---------------------+<br />
1 row in set (0.00 sec)<br />
<br />
<br />
Howerver, my lost record [TEST - RESTAURATION AFTER MYSQLDUMP TOTO] doen&#039;t restore by the binlog apply.<br />
<br />
<br />
Do you have an idea?<br />
<br />
Thanks for your help,<br />
<br />
Matt]]></description>
            <dc:creator>Matthieu COUSSI</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Fri, 21 Jan 2022 13:14:13 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,700484,700484#msg-700484</guid>
            <title>Restoring database from .IDB files (1 reply)</title>
            <link>https://forums.mysql.com/read.php?156,700484,700484#msg-700484</link>
            <description><![CDATA[ I have a REDCap database (REDCap being an open-source public health database platform developed at Vanderbilt University, which relies on MySQL for storing data) running on Windows Server 2012 R2.  The server recently crashed, which required a fresh install of the operating system, and a new installation of REDCap.  <br />
<br />
I have backup copies of the MySQL data store from the old server (C:\ProgramData\MySQL\MySQL Server 8.0\Data\redcap), and am wondering what the procedure is for incorporating the .IDB files from that folder into the same folder on the new server, which currently only contains some sample tables that come installed by default on a new REDCap instance.<br />
<br />
How exactly do I go about getting the .IDB files from the old MySQL database into the new one?  Is it as simple as copying the files from the old C:\ProgramData\MySQL\MySQL Server 8.0\Data\redcap folder to the new one?  Or do I need to perform the operation in MySQL Workbench or some other utility?<br />
<br />
Thank you very much for your advice.]]></description>
            <dc:creator>It Manager</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Wed, 05 Jan 2022 18:19:13 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,700178,700178#msg-700178</guid>
            <title>After putting ibdata1 file in data folder, service does not start (2 replies)</title>
            <link>https://forums.mysql.com/read.php?156,700178,700178#msg-700178</link>
            <description><![CDATA[ Server is crashed. But we have got MYSQL Data folder. Tn that folder there are following files:<br />
<br />
 ibdata1,<br />
 ib_logfile0,<br />
 ib_logfile1<br />
 database folder with .frm files and in some databases there are .frm,.MYI, .MYD files.<br />
<br />
Anyone have an idea how to recover my databases back.<br />
I am using MYSQL 5.5.<br />
I have installed MYSQL 5.5 on new machine,<br />
<br />
 I copied the data folder. and renamed data_old.<br />
then I just Copy databases folders from the crashed server mysql/data folder and put it in this data folder.<br />
then i start the mysql service. <br />
in localhost/phpmyadmin, i can see all databses with table names. <br />
<br />
ISSUe: when i click any table, it show me an error<br />
&quot;table does not exist in engine&quot;<br />
then i Stop the service<br />
<br />
After that i put ibdata1 file into this mysql/data folder. existing was replaced with this one.<br />
 then i tried to start service, it was not running.<br />
Do you people have any idea after putting ibdata1 file from one machine mysql/data folder to another machine  mysql/data folder. Service does not start . how to start mysql service???<br />
<br />
Thanks in Advance]]></description>
            <dc:creator>Tahira Nasreen</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Sat, 11 Dec 2021 09:39:01 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,700177,700177#msg-700177</guid>
            <title>Databases Recovery from ibdata1 and .frm files (5 replies)</title>
            <link>https://forums.mysql.com/read.php?156,700177,700177#msg-700177</link>
            <description><![CDATA[ Server is crashed. But we have got MYSQL Data folder. Tn that folder there are following files:<br />
<br />
 ibdata1,<br />
 ib_logfile0,<br />
 ib_logfile1<br />
 database folder with .frm files and in some databases there are .frm,.MYI, .MYD files.<br />
<br />
Anyone have an idea how to recover my databases back.<br />
I am using MYSQL 5.5. <br />
<br />
 Thanks in Advance.]]></description>
            <dc:creator>Tahira Nasreen</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Sun, 12 Dec 2021 17:49:41 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,699115,699115#msg-699115</guid>
            <title>Mysqldump not creating tables in the correct sequence, giving errors. (2 replies)</title>
            <link>https://forums.mysql.com/read.php?156,699115,699115#msg-699115</link>
            <description><![CDATA[ I just did a mysqldump.<br />
Very generic mysqldump database &gt; sqlfile.sql<br />
When I run mysql -v database &lt; sqlfile.sql I get <br />
ERROR 1146 (42S02) at line 305: Table doesn&#039;t exist when trying to reference a table.]]></description>
            <dc:creator>Michael delos Reyes</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Mon, 04 Oct 2021 21:57:15 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,699113,699113#msg-699113</guid>
            <title>ERROR 1100 (HY000) at line : Table was not locked with LOCK TABLES (6 replies)</title>
            <link>https://forums.mysql.com/read.php?156,699113,699113#msg-699113</link>
            <description><![CDATA[ Trying to import from a mysqldump export.<br />
Getting these errors when a table references another table.<br />
Table was not locked with LOCK TABLES<br />
Is there no other choice but to manually add the table like &quot;lock table a WRITE, table b READ&#039;?<br />
There are hundreds of tables I will need to manually add a lock to.]]></description>
            <dc:creator>Michael delos Reyes</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Tue, 05 Oct 2021 16:54:03 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,697926,697926#msg-697926</guid>
            <title>Migrate MyISAM tables from MySQL 5.7 to 8.0 (no replies)</title>
            <link>https://forums.mysql.com/read.php?156,697926,697926#msg-697926</link>
            <description><![CDATA[ <a href="https://lefred.be/content/migrate-myisam-tables-from-mysql-5-7-to-8-0/"  rel="nofollow">https://lefred.be/content/migrate-myisam-tables-from-mysql-5-7-to-8-0/</a>]]></description>
            <dc:creator>Edwin Desouza</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Mon, 02 Aug 2021 16:20:51 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,697602,697602#msg-697602</guid>
            <title>extract tables from large mySQL dump with regex or wildcards? (1 reply)</title>
            <link>https://forums.mysql.com/read.php?156,697602,697602#msg-697602</link>
            <description><![CDATA[ I need the ability to selectively restore a group of tables from a very large (100+Gb) mysql dump file with table names matching a specific pattern, such as regex &quot;^brn_eraq&quot;.<br />
<br />
In some cases I may not know all of the possible full table names, hence the need for pattern matching. Seems like I may have used sed in the past; but, only with full table names- no pattern matching.  And, is there a way to list the table names contained in a mysql dump file?]]></description>
            <dc:creator>Allen Moore</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Fri, 09 Jul 2021 01:34:22 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,695976,695976#msg-695976</guid>
            <title>Recover InnoDB table (8 replies)</title>
            <link>https://forums.mysql.com/read.php?156,695976,695976#msg-695976</link>
            <description><![CDATA[ Windows Server 2016<br />
MySQL 8.0.23<br />
Recent server crash. I have a complete backup of the server from shortly before the crash. There is one specific table I wish to restore, and so far, have tried the following without success:<br />
1) Copy entire database folder containing the table, as well as files from root of Data folder, and the &#039;sys&#039; db folder, and the my.ini file. Attempting to start the server with this results in service crash with &quot;Multiple files found for the same tablespace ID&quot;<br />
2) with running service, create new schema, and run create statement for the table. Then discard tablespace, copy idb file, and import tablespace. The last command fails with &quot;Error Code: 1034. Incorrect key file for table &#039;filedata&#039;; try to repair it&quot;<br />
Any other possible fixes I&#039;ve found seem to revolve around utilities that require compiling, which I do not know how to do. Option 1) would be the preferred route to get working, as there is other less critical data I would like to recover.<br />
Thanks in advance]]></description>
            <dc:creator>Eldon Down</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Wed, 08 Sep 2021 13:29:01 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,695493,695493#msg-695493</guid>
            <title>Replaying binary log? (1 reply)</title>
            <link>https://forums.mysql.com/read.php?156,695493,695493#msg-695493</link>
            <description><![CDATA[ I worked for a while in a company, where they had found a way to replay the binlogs, in order to restore a database up to a given time after the time of the newest backup; however, I can&#039;t find any references to how this is done.<br />
<br />
In Percona&#039;s documentation for innobackupex, they mention the log sequence number - is this the same as the &#039;end_log_pos&#039; that can be found in the binlog files (using the mysqlbinlog command)?<br />
<br />
I don&#039;t know how the DBAs in this company did, only that they did it as a matter of routine. Any ideas?]]></description>
            <dc:creator>Jan Andersen</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Fri, 19 Mar 2021 16:40:43 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,695461,695461#msg-695461</guid>
            <title>Extract data from .ibd file (2 replies)</title>
            <link>https://forums.mysql.com/read.php?156,695461,695461#msg-695461</link>
            <description><![CDATA[ Hi everyone,<br />
<br />
we have a special Problem with a mysql database.<br />
Due to a loss of data, we had to restore a database. It is an innoDB database. This worked quite well, unfortunately the associated .frm file for a specific table was missing. Only the .idb file is available. Is there a way to get to the data of the .idb file? We found an old .frm file during the restore, but it doesn&#039;t seem to fit. The table is displayed in phpMyAdmin, but the message always appears that the table does not exist.<br />
<br />
I don&#039;t have much hope<br />
<br />
But I would appreciate an opinion from the experts.]]></description>
            <dc:creator>Simon Quell</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Fri, 19 Mar 2021 08:33:42 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?156,695249,695249#msg-695249</guid>
            <title>Recovery After DROP TABLE, With innodb_file_per_table ON (no replies)</title>
            <link>https://forums.mysql.com/read.php?156,695249,695249#msg-695249</link>
            <description><![CDATA[ <a href="https://twindb.com/recovery-after-drop-table-with-innodb_file_per_table-on/"  rel="nofollow">https://twindb.com/recovery-after-drop-table-with-innodb_file_per_table-on/</a>]]></description>
            <dc:creator>Edwin Desouza</dc:creator>
            <category>Data Recovery</category>
            <pubDate>Mon, 08 Mar 2021 02:51:35 +0000</pubDate>
        </item>
    </channel>
</rss>
