Suddenly I got this error in my Laravel web application.
PDOException in MySqlConnector.php line 38:
SQLSTATE[HY000]: General error: 1835 Malformed communication packet
Can you help me out to solve this?
Join Stack Overflow to learn, share knowledge, and build your career.
Suddenly I got this error in my Laravel web application.
PDOException in MySqlConnector.php line 38:
SQLSTATE[HY000]: General error: 1835 Malformed communication packet
Can you help me out to solve this?
With reference to another post, I have added the below line in db connection and its working for now.
'options' => [PDO::ATTR_EMULATE_PREPARES => true]
MariaDB-server-10.2.31-1.el7.centos.x86_64
->MariaDB-server-10.2.35-1.el7.centos.x86_64
. Might there be some similarity? – Smuuf Nov 4 '20 at 10:58