# Error 1581: Cannot rename. When logging enabled, rename to/from log table must rename two tables

| Error Code | SQLSTATE | Error                        | Description                                                                                                                                                 |
| ---------- | -------- | ---------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 1581       | HY000    | ER\_CANT\_RENAME\_LOG\_TABLE | Cannot rename '%s'. When logging enabled, rename to/from log table must rename two tables: the log table to an archive table and another table back to '%s' |

## Possible Causes and Solutions

{% hint style="success" %}
This article doesn't currently contain any content. [You can help!](https://app.gitbook.com/s/WCInJQ9cmGjq1lsTG91E/about/readme/contributing-documentation)
{% endhint %}

<sub>*This page is licensed: CC BY-SA / Gnu FDL*</sub>

{% @marketo/form formId="4316" %}
