• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Forwarded to devs Occasional "ODBC error #HY000: [ma-3.0.8][10.1.48-MariaDB]Prepared statement needs to be re-prepared" during backups

Bitpalast

Plesk addicted!
Plesk Guru
Username: Peter Debik

TITLE

Occasional "ODBC error #HY000: [ma-3.0.8][10.1.48-MariaDB]Prepared statement needs to be re-prepared" during backups

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

CentOS 7.9 with latest OS updates
Obsidian, latest MU

PROBLEM DESCRIPTION

Across all of our dedicated servers we occasionally see one or more of these messages in the nightly backup log of full server backups (admin level):

Warning: Domain "domain.tld"
Unable to back up applications. Error: ODBC error #HY000: [ma-3.0.8][10.1.48-MariaDB]Prepared statement needs to be re-prepared

Most often the message only appears exactly once in a backup, sometimes it appears twice or up to five times relating to different domains per message.

STEPS TO REPRODUCE

Cannot be reproduced manually. It appears occasionally, approximately once every 18 full server backups on different machines, e.g. once every 18 weeks on one machine on average. Typical server backup sizes here are 450 GB per machine, approx. 350 subscriptions and 900 domains per machine.

ACTUAL RESULT

Warning: Domain "domain.tld"
Unable to back up applications. Error: ODBC error #HY000: [ma-3.0.8][10.1.48-MariaDB]Prepared statement needs to be re-prepared

EXPECTED RESULT

Backup without SQL error

ANY ADDITIONAL INFORMATION

We'd like to know what the consequence of the behavior is and ideally, how this can be avoided.

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Help with sorting out
 
Last edited:
Increasing table_definition_cache and table_open_cache a great deal has solved the issue.
 
Back
Top