Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-28376

mysqlreport missing libdbd-mariadb-perl

Details

    Description

      After updating Ubuntu from 20.04 LTS to 22.04 LTS mariadb-server was automatically updated to 10.6.7. Now mysqlreport produces this:

      install_driver(MariaDB) failed: Can't locate DBD/MariaDB.pm in @INC (you may need to install the DBD::MariaDB module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.34.0 /usr/local/share/perl/5.34.0 /usr/lib/x86_64-linux-gnu/perl5/5.34 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.34 /usr/share/perl/5.34 /usr/local/lib/site_perl) at (eval 9) line 3.
      Perhaps the DBD::MariaDB perl module hasn't been fully installed,
      or perhaps the capitalisation of 'MariaDB' isn't right.
      Available drivers: DBM, ExampleP, File, Gofer, Mem, Proxy, Sponge, mysql.
       at /usr/bin/mysqlreport line 261.
      

      The reason is libdbd-mariadb-perl is not shipping with Ubuntu 22.04 (jammy). So mysqlreport is unusable now. The solution would be to ship and install libdbd-mariadb-perl alongside with mariadb-server, I guess.

      Attachments

        Activity

          JJworx Jochen added a comment - - edited

          I'm fine with the downloaded version. Closing this topic will leave the download
          link intact. So close it, IMHO.

          JJworx Jochen added a comment - - edited I'm fine with the downloaded version. Closing this topic will leave the download link intact. So close it, IMHO.
          illuusio Tuukka Pasanen added a comment - - edited

          It seem that it removed branch as I didn't unmark remove branch. Could you update link to official location. Which will be there as merge request is in.

          illuusio Tuukka Pasanen added a comment - - edited It seem that it removed branch as I didn't unmark remove branch. Could you update link to official location . Which will be there as merge request is in.
          JJworx Jochen added a comment -

          Thank you, Tuuka!

          JJworx Jochen added a comment - Thank you, Tuuka!

          illuusio The commit https://salsa.debian.org/mariadb-team/mariadb-server/-/commit/8e4109842fbbb20196ce5da4b7e586ead3fe8885 is currently only in Debian, right? Please submit a PR for upstream MariaDB too so that Debian and upstream `debian/*` contents would be as identical as possible.

          otto Otto Kekäläinen added a comment - illuusio The commit https://salsa.debian.org/mariadb-team/mariadb-server/-/commit/8e4109842fbbb20196ce5da4b7e586ead3fe8885 is currently only in Debian, right? Please submit a PR for upstream MariaDB too so that Debian and upstream `debian/*` contents would be as identical as possible.

          As this also in upstream commit PR to merge change in upstream also. First appearance is 10.5

          illuusio Tuukka Pasanen added a comment - As this also in upstream commit PR to merge change in upstream also. First appearance is 10.5

          People

            illuusio Tuukka Pasanen
            JJworx Jochen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.