Title: Error Message: couldn&#8217;t execute &#8216;SELECT /*!40001 SQL_NO_CACHE */&#8230;
Last modified: July 10, 2024

---

# Error Message: couldn’t execute ‘SELECT /*!40001 SQL_NO_CACHE */…

 *  Resolved [2yudith](https://wordpress.org/support/users/2yudith/)
 * (@2yudith)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/error-message-couldnt-execute-select-40001-sql_no_cache/)
 * Hi,
 * We recently started using a cron job on our server to trigger the wp-cron script.
   When our backup is running we get the following feedback:
 * 
   mysqldump: Couldn’t execute ‘SELECT /*!40001 SQL_NO_CACHE */ `option_id`, `option_name`,`
   option_value`, `autoload` FROM `mf_options` WHERE WHERE option_name NOT LIKE “
   updraft_jobdata_%” AND option_name NOT LIKE “_site_transient_update_%”‘: You 
   have an error in your SQL syntax; check the manual that corresponds to your MariaDB
   server version for the right syntax to use near ‘WHERE option_name NOT LIKE “
   updraft_jobdata_%” AND option_name NOT LIKE “_sit…’ at line 1 (1064)I have no
   idea in which direction this message points. Do you think we need to change anything?
   Have we set it up wrong?
 * We would be grateful for your feedback.
   Thank you and best regards
 * Judith
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-message-couldnt-execute-select-40001-sql_no_cache%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [nrobertsudp](https://wordpress.org/support/users/nrobertsudp/)
 * (@nrobertsudp)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/error-message-couldnt-execute-select-40001-sql_no_cache/#post-17882830)
 * Hi there,
   As this problem relates directly to your MariaDB server you should 
   ask your hosting provider for assistance. They will be familiar with the MariaDB
   server version and can help set up the cron-job.Best regards,
 * Nick

Viewing 1 replies (of 1 total)

The topic ‘Error Message: couldn’t execute ‘SELECT /*!40001 SQL_NO_CACHE */…’ is
closed to new replies.

 * ![](https://ps.w.org/updraftplus/assets/icon-256x256.jpg?rev=1686200)
 * [UpdraftPlus: WP Backup & Migration Plugin](https://wordpress.org/plugins/updraftplus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/updraftplus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/updraftplus/)
 * [Active Topics](https://wordpress.org/support/plugin/updraftplus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/updraftplus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/updraftplus/reviews/)

## Tags

 * [cron](https://wordpress.org/support/topic-tag/cron/)

 * 1 reply
 * 2 participants
 * Last reply from: [nrobertsudp](https://wordpress.org/support/users/nrobertsudp/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/error-message-couldnt-execute-select-40001-sql_no_cache/#post-17882830)
 * Status: resolved