• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

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