Suddenly got
SQLSTATE[HY000]: General error: 1835 Malformed communication packet (SQL: select * from
tb_users
where (username
= 121211) limit 1)
on Laravel.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Kenil Vasani
All my Laravel apps running PHP 7.2 had this error but those running on PHP 7.3 did not. So I changed the PHP version to 7.3 and the problem was fixed. (Running Laravel 7)
Kenil Vasani
Found the solution. Don’t know if it’s permanent or temporary:
make sure that
exist on mysql connection.