# Error 3022: This operation may not be safe when the slave has temporary tables

| Error Code | SQLSTATE | Error                                        | Description                                                                                                                                                                                                                                       |
| ---------- | -------- | -------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 3022       |          | ER\_WARN\_OPEN\_TEMP\_TABLES\_MUST\_BE\_ZERO | This operation may not be safe when the slave has temporary tables. The tables will be kept open until the server restarts or until the tables are deleted by any replicated DROP statement. Suggest to wait until slave\_open\_temp\_tables = 0. |

## 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" %}
