Title: Database error &#8211; OPTIMIZE TABLE &#8211; WP_Hook &#8211; DB_Optm-&gt;_db_clean
Last modified: September 7, 2023

---

# Database error – OPTIMIZE TABLE – WP_Hook – DB_Optm->_db_clean

 *  Resolved [ziekz](https://wordpress.org/support/users/ziekz/)
 * (@ziekz)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/database-error-optimize-table-wp_hook-db_optm-_db_clean/)
 * [07-Sep-2023 17:04:57 UTC] WordPress database error You have an error in your
   SQL syntax; check the manual that corresponds to your MySQL server version for
   the right syntax to use near ” at line 1 for query OPTIMIZE TABLE made by require_once(‘
   wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’),
   do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, LiteSpeed\Core-
   >after_user_init, LiteSpeed\Core->proceed_action, LiteSpeed\Router->handler, 
   LiteSpeed\DB_Optm->handler, LiteSpeed\DB_Optm->_db_clean
 * [https://patofizyoloji.com/](https://patofizyoloji.com/)
 * **How can i solve this problem?**
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdatabase-error-optimize-table-wp_hook-db_optm-_db_clean%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [Rank Math Support](https://wordpress.org/support/users/rankmathteam/)
 * (@rankmathteam)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/database-error-optimize-table-wp_hook-db_optm-_db_clean/#post-17033936)
 * Hello [@ziekz](https://wordpress.org/support/users/ziekz/),
 * Thank you for contacting the support, and sorry for any inconvenience that might
   have been caused due to that.
 * It seems like that the notification is for a plugin named LiteSpeed and not Rank
   Math.
 * Please open a new support topic with the respective plugin developer so they 
   can assist you better.
 * Hope that helps.

Viewing 1 replies (of 1 total)

The topic ‘Database error – OPTIMIZE TABLE – WP_Hook – DB_Optm->_db_clean’ is closed
to new replies.

 * ![](https://ps.w.org/seo-by-rank-math/assets/icon.svg?rev=3438330)
 * [Rank Math SEO – AI SEO Tools to Dominate SEO Rankings](https://wordpress.org/plugins/seo-by-rank-math/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/seo-by-rank-math/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/seo-by-rank-math/)
 * [Active Topics](https://wordpress.org/support/plugin/seo-by-rank-math/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/seo-by-rank-math/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/seo-by-rank-math/reviews/)

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [WP_Hook](https://wordpress.org/support/topic-tag/wp_hook/)

 * 1 reply
 * 2 participants
 * Last reply from: [Rank Math Support](https://wordpress.org/support/users/rankmathteam/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/database-error-optimize-table-wp_hook-db_optm-_db_clean/#post-17033936)
 * Status: resolved