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

后端 未结 14 1620
温柔的废话
温柔的废话 2020-11-29 09:45

Suddenly got

SQLSTATE[HY000]: General error: 1835 Malformed communication packet (SQL: select * from tb_users where (username =

14条回答
  •  暖寄归人
    2020-11-29 10:46

    The official fix is finanlly out and you can find the details on the link:
    https://support.cpanel.net/hc/en-us/articles/360056772334/comments/360005577354


    To quickly fix it just connect via SSH and run

    sudo /scripts/autorepair fix_mariadb_show_grants_roles
    

    For users that have applied the previous workaround involving downgrading MariaDB. Be sure to unlock MariaDB to ensure it continues to receive the appropriate updates:

    yum versionlock clear
    /scripts/upcp
    

提交回复
热议问题