[MDEV-24050] Restoring the database using mysql and .sql file name results in ERROR 1556 (HY000) at line 819: You can't use locks with log tables Created: 2020-10-29 Updated: 2021-01-28 Resolved: 2020-11-07 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | None |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Vivek Singh | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Description |
|
I am facing this issue when try to restore the database that was dumped using mysqldump utility.
now if I try to restore the things using the `.sql` file that is generated by above command, this is the error that I get
so I tried to exclude the log table that are in mysql database, while taking dump and modified the command to
and even after this command it looks like the logs tables are there in the backup `.sql` and I get the same error while restore. I have seen at some places that this error can be ignored. So here are some questions |
| Comments |
| Comment by Alice Sherepa [ 2020-10-29 ] | |||||||
|
Please specify which version do you use. | |||||||
| Comment by Vivek Singh [ 2020-10-30 ] | |||||||
|
mysqldump version
maria db version, it is installed through helm
so it looks like I am running 3.1.0 | |||||||
| Comment by Sergei Golubchik [ 2020-11-07 ] | |||||||
|
you're running mysqldump from MySQL and a counchdb. There's no MariaDB here as far as I can see. | |||||||
| Comment by Vivek Singh [ 2021-01-27 ] | |||||||
|
Hey Sergei,
mysqldump version
and this is the error that we are getting
and even if we try to ignore the log tables using `--ignore-table` those tables are not being ignored as mentioned on this thread. Let me know if there is something else that needs to be shared. | |||||||
| Comment by Sergei Golubchik [ 2021-01-28 ] | |||||||
|
That | |||||||
| Comment by Vivek Singh [ 2021-01-28 ] | |||||||
|
even though we use the mysqldump from maria distribution we are having same issue, we are not able to ignore the logs table using `--ignore-table` flag. |