Warning: mysqli_connect(): Error while reading greeting packet. PID=1317 in /mnt/Storage/vhosts/rentright.co.uk/httpdocs/dbsetuprentright.php on line 2

Fatal error: Uncaught mysqli_sql_exception: MySQL server has gone away in /mnt/Storage/vhosts/rentright.co.uk/httpdocs/dbsetuprentright.php:2 Stack trace: #0 /mnt/Storage/vhosts/rentright.co.uk/httpdocs/dbsetuprentright.php(2): mysqli_connect() #1 /mnt/Storage/vhosts/rentright.co.uk/httpdocs/agentprofile.php(7): include('...') #2 {main} thrown in /mnt/Storage/vhosts/rentright.co.uk/httpdocs/dbsetuprentright.php on line 2