SUSE Support

Here When You Need Us

Deprecated '-O' option used in MySQL-OCF-Script

This document (7006533) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 11 SP1

Situation

The MySQL-OCF-Script (/usr/lib/ocf/resource.d/heartbeat/mysql) in SLES11-SP1-HAE reports the following warning, when a monitor-operation with the newest MySQL-Enterprise-Server (Version 5.1.48-enterprise-gpl-advanced-log) is executed:

Warning: mysql: Option '-O' is deprecated. Use --variable-name=value instead.

In the OCF-Shellscript the variable "MYSQL_OPTIONS_LOCAL" is set with the parameter "-O connect_timeout=1", which is ostensibly deprecated in this newest MySQL-Server-Version.

Resolution

The option '-O' has been replaced upstream. SUSE is working on an updated version that is scheduled to be released as soon as possible.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7006533
  • Creation Date: 29-Jul-2010
  • Modified Date:12-Oct-2022
    • SUSE Linux Enterprise Server
    • SUSE Linux Enterprise Real Time Extension

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.