Warning: mysqli_connect(): Error while reading greeting packet. PID=541 in /app/include/DB.php on line 12

Fatal error: Uncaught mysqli_sql_exception: MySQL server has gone away in /app/include/DB.php:12 Stack trace: #0 /app/include/DB.php(12): mysqli_connect() #1 /app/index.php(18): include('...') #2 {main} thrown in /app/include/DB.php on line 12