Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-113048

pmda-mysql reports deprecation warning

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • rhel-9.7
    • pcp
    • Yes
    • Low
    • rhel-pt-pcp
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • None
    • None
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None

      What were you trying to do that didn't work?

      When using pcp-pmda-mysql in PCP, I am getting the following deprecation warning:

      WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
      

      What is the impact of this issue to you?

      No impact so far, just the warning in pmda-mysql log files. However the PMDA needs an update to avoid issues in the future.

      Please provide the package NVR for which the bug is seen:

      pcp-6.3.7-5.el9

      How reproducible is this bug?:

      Always

      Steps to reproduce

      1. Use the pcp-pmda-mysql to monitor a MySQL database; or run pcp-testsuite to test the pmda
      2. The issue can be seen when running the pcp-testsuite using this command:
        cd /var/lib/pcp/testsuite && ./check 000 -g pmda.mysql
        
      1. Once the run of the pmda.mysql is done, check the pmda logfile:
        grep WARN /var/log/pcp/pmcd/mysql*
        

      Expected results

      No warning is reported

      Actual results

      Deprecation warning is reported

              pcp-maint pcp-maint
              jkurik@redhat.com Jan Kurik
              pcp-maint pcp-maint
              Jan Kurik Jan Kurik
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: