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

Recent MariaDB update appears to have introduced a DB connection issue for PHP < 7.3 (or anything using PDO)

    XMLWordPrintable

    Details

      Description

      Possibly related to the recent update: https://mariadb.com/kb/en/mariadb-10235-release-notes/

      Sites running PHP 5.6 will see this error:

      SQLSTATE[HY000]: General error: 1835 Malformed communication packet
      

      Sites running PHP 7.0, 7.1, 7.2 will see this error:

      Critical Error Could not connect to the database.
      

      Setting the sites to use PHP 7.3, solves the issue. So the recent MariaDB update appears to have introduced a DB connection issue for PHP < 7.3 (or anything using PDO)

      Another solution is to downgrade. This is also mentioned here: https://xenforo.com/community/threads/mariadb-10-3-26-1-breaks-php-7-2.187331/

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sanja Oleksandr Byelkin
              Reporter:
              cPanelSTA cPanel Senior Tech's
              Votes:
              18 Vote for this issue
              Watchers:
              37 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: