Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-4946

Script Agent - MySQL - Undefined array key "client"

Details

    • Bug
    • Resolution: Unresolved
    • Blocker
    • None
    • None
    • Default
    • None

    Description

      Run Script:

       

      ./mysql
      PHP Warning:  Undefined array key "client" in /usr/lib/observium_agent/local/mysql.cnf on line 19
      PHP Warning:  Trying to access array offset on value of type null in /usr/lib/observium_agent/local/mysql.cnf on line 19
      PHP Warning:  Undefined array key "client" in /usr/lib/observium_agent/local/mysql.cnf on line 20
      PHP Warning:  Trying to access array offset on value of type null in /usr/lib/observium_agent/local/mysql.cnf on line 20
      

      SO:

      cat /etc/os-release
      PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
      NAME="Debian GNU/Linux"
      VERSION_ID="12"
      VERSION="12 (bookworm)"
      VERSION_CODENAME=bookworm
      ID=debian
      HOME_URL="https://www.debian.org/"
      SUPPORT_URL="https://www.debian.org/support"
      BUG_REPORT_URL="https://bugs.debian.org/"

      MySQL Config:

      cat /etc/mysql/debian.cnf
      # THIS FILE IS OBSOLETE. STOP USING IT IF POSSIBLE.
      # This file exists only for backwards compatibility for
      # tools that run '--defaults-file=/etc/mysql/debian.cnf'
      # and have root level access to the local filesystem.
      # With those permissions one can run 'mariadb' directly
      # anyway thanks to unix socket authentication and hence
      # this file is useless. See package README for more info.
      [client]
      host     = localhost
      user     = root
      [mysql_upgrade]
      host     = localhost
      user     = root
      # THIS FILE WILL BE REMOVED IN A FUTURE DEBIAN RELEASE.
      

      Attachments

        Activity

          Loading...
          Uploaded image for project: 'Observium'
          1. Observium
          2. OBS-4946

          Script Agent - MySQL - Undefined array key "client"

          Details

            • Bug
            • Resolution: Unresolved
            • Blocker
            • None
            • None
            • Default
            • None

            Description

              Run Script:

               

              ./mysql
              PHP Warning:  Undefined array key "client" in /usr/lib/observium_agent/local/mysql.cnf on line 19
              PHP Warning:  Trying to access array offset on value of type null in /usr/lib/observium_agent/local/mysql.cnf on line 19
              PHP Warning:  Undefined array key "client" in /usr/lib/observium_agent/local/mysql.cnf on line 20
              PHP Warning:  Trying to access array offset on value of type null in /usr/lib/observium_agent/local/mysql.cnf on line 20
              

              SO:

              cat /etc/os-release
              PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
              NAME="Debian GNU/Linux"
              VERSION_ID="12"
              VERSION="12 (bookworm)"
              VERSION_CODENAME=bookworm
              ID=debian
              HOME_URL="https://www.debian.org/"
              SUPPORT_URL="https://www.debian.org/support"
              BUG_REPORT_URL="https://bugs.debian.org/"

              MySQL Config:

              cat /etc/mysql/debian.cnf
              # THIS FILE IS OBSOLETE. STOP USING IT IF POSSIBLE.
              # This file exists only for backwards compatibility for
              # tools that run '--defaults-file=/etc/mysql/debian.cnf'
              # and have root level access to the local filesystem.
              # With those permissions one can run 'mariadb' directly
              # anyway thanks to unix socket authentication and hence
              # this file is useless. See package README for more info.
              [client]
              host     = localhost
              user     = root
              [mysql_upgrade]
              host     = localhost
              user     = root
              # THIS FILE WILL BE REMOVED IN A FUTURE DEBIAN RELEASE.
              

              Attachments

                Activity

                  People

                    landy Mike Stupalov
                    vsc55 Javier Pastor
                    Votes:
                    0 Vote for this issue
                    Watchers:
                    2 Start watching this issue

                    Dates

                      Created:
                      Updated:

                      People

                        landy Mike Stupalov
                        vsc55 Javier Pastor
                        Votes:
                        0 Vote for this issue
                        Watchers:
                        2 Start watching this issue

                        Dates

                          Created:
                          Updated: