Warning: mysqli_connect(): (08004/1040): Too many connections in D:\Web\dapei\read.php on line 24

Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, bool given in D:\Web\dapei\read.php:26 Stack trace: #0 D:\Web\dapei\read.php(26): mysqli_query(false, 'SET CHARACTER S...') #1 {main} thrown in D:\Web\dapei\read.php on line 26