Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2.35, 10.3.26
-
None
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
- includes
-
MDEV-24134 10.4.16 update breaks python
-
- Closed
-
-
MDEV-24146 latest update (10.5.7) breaks communication with spring boot application
-
- Closed
-
- is duplicated by
-
MDEV-24146 latest update (10.5.7) breaks communication with spring boot application
-
- Closed
-
- relates to
-
MDBF-952 Protocol regression testing for the server
-
- Open
-
-
MDEV-31608 MySQL.Data can not connect to MariaDB 11 due a collations with a NULL id.
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Affects Version/s | 10.2.35 [ 25022 ] | |
Affects Version/s | 10.2.36 [ 25026 ] |
Affects Version/s | 10.3.26 [ 25021 ] | |
Affects Version/s | 10.2.36 [ 25026 ] |
Summary | Recent MariaDB update appears to have introduced a DB connection issue for PHP =< 7.2 | Recent MariaDB update appears to have introduced a DB connection issue for PHP < 7.3 (or anything using PDO) |
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: {code} SQLSTATE[HY000]: General error: 1835 Malformed communication packet {code} Sites running PHP 7.0, 7.1, 7.2 will see this error: {code} Critical Error Could not connect to the database. {code} 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.2. 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/ |
Possibly related to the recent update: https://mariadb.com/kb/en/mariadb-10235-release-notes/
Sites running PHP 5.6 will see this error: {code} SQLSTATE[HY000]: General error: 1835 Malformed communication packet {code} Sites running PHP 7.0, 7.1, 7.2 will see this error: {code} Critical Error Could not connect to the database. {code} 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/ |
Assignee | Oleksandr Byelkin [ sanja ] |
Link |
This issue includes |
Link | This issue is caused by MDEV-15148 [ MDEV-15148 ] |
Link | This issue is caused by MDEV-15148 [ MDEV-15148 ] |
Link | This issue relates to MDEV-15148 [ MDEV-15148 ] |
Fix Version/s | 10.2.36 [ 25026 ] | |
Fix Version/s | 10.3.27 [ 25025 ] | |
Fix Version/s | 10.4.17 [ 25024 ] | |
Fix Version/s | 10.5.8 [ 25023 ] |
Component/s | Binary Protocol [ 16120 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Link |
This issue includes |
Link |
This issue is duplicated by |
Workflow | MariaDB v3 [ 115416 ] | MariaDB v4 [ 158544 ] |
Link |
This issue relates to |
Zendesk Related Tickets | 135356 189869 |
Xenforo: https://xenforo.com/community/threads/mariadb-10-3-26-1-breaks-php-7-2.187331/
WHMCS: https://help.whmcs.com/m/troubleshooting/l/1325182-troubleshooting-a-critical-error-could-not-connect-to-the-database-error
Stackoverflow: https://stackoverflow.com/questions/64677836/sqlstatehy000-general-error-1835-malformed-communication-packet-on-laravel
cPanel: https://support.cpanel.net/hc/en-us/articles/360056803454-After-MariaDB-update-PHP-website-has-database-connection-error-MySQL-query-error-Malformed-communication-packet