# Error message about corrupted mysql.user in DB-Log after Restore of innobackupex bak

**URL:** <https://forums.percona.com/t/error-message-about-corrupted-mysql-user-in-db-log-after-restore-of-innobackupex-bak/4991>\
**Category:** Percona XtraBackup\
**Created:** [July 22, 2016, 4:27am UTC](https://forums.percona.com/t/error-message-about-corrupted-mysql-user-in-db-log-after-restore-of-innobackupex-bak/4991 "2016-07-22T04:27:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![McA](https://avatars.discourse-cdn.com/v4/letter/m/3da27b/32.png) [@McA](https://forums.percona.com/u/McA)\
**Post date:** [July 22, 2016, 4:27am UTC](https://forums.percona.com/t/error-message-about-corrupted-mysql-user-in-db-log-after-restore-of-innobackupex-bak/4991/1 "2016-07-22T04:27:45Z")

</div>

Hi all,

i did some tests with recovery of a database out of innobackupex backups.

- DB: 5.7.13
- innobackupex version 2.4.3
- Backup via innobackupex --stream=tar | ssh host “cat - \> backup.tar”
- Restore on other location via tar xvif backup.tar
- innobackupex --apply-log
- correcting file ownership and permissions
- starting restored database

After that I get reproducible the following error message in the db log:

2016-07-22T09:38:03.215194Z 0 [ERROR] /opt/mysql/bin/mysqld: Table ‘./mysql/user’ is marked as crashed and should be repaired  
2016-07-22T09:38:03.215396Z 0 [Warning] Checking table: ‘./mysql/user’  
2016-07-22T09:38:03.215441Z 0 [ERROR] 1 client is using or hasn’t closed the table properly

Can someone help me as I couldn’t find a hint for a solution?

Best regards  
Andreas

---

<div class="post-metadata">

**Author:** ![McA](https://avatars.discourse-cdn.com/v4/letter/m/3da27b/32.png) [@McA](https://forums.percona.com/u/McA)\
**Post date:** [July 22, 2016, 7:48am UTC](https://forums.percona.com/t/error-message-about-corrupted-mysql-user-in-db-log-after-restore-of-innobackupex-bak/4991/2 "2016-07-22T07:48:48Z")

</div>

Addition: It plays no role whether stored remotely via --stream or locally into filesystem. Same error message on first start.
