ERROR [2] mysqli_connect(): (HY000/2002): Connection refused
Fatal error in line 9 of file /var/lib/security/moving_minisito/includes/mysql_lib.php, PHP 7.3.33 (Linux)
This is the debug trace

Fatal error: Uncaught Error: Call to undefined function ereg_replace() in /var/lib/security/moving_minisito/includes/inc_error_handler.php:80 Stack trace: #0 /var/lib/security/moving_minisito/includes/inc_error_handler.php(93): print_debug_info(2, 'mysqli_connect(...', '/var/lib/securi...', 9, Array) #1 [internal function]: myErrorHandler(2, 'mysqli_connect(...', '/var/lib/securi...', 9, Array) #2 /var/lib/security/moving_minisito/includes/mysql_lib.php(9): mysqli_connect('localhost', 'movingdb_usr', 'M2+y5gg9-csim26...', 'moving_2025_db') #3 /var/lib/security/moving_minisito/r_index.php(11): db_connect('localhost', 'moving_2025_db', 'movingdb_usr', 'M2+y5gg9-csim26...') #4 /var/www/vhosts/residenceitaca.com/httpdocs/r_index.php(1): include('/var/lib/securi...') #5 {main} thrown in /var/lib/security/moving_minisito/includes/inc_error_handler.php on line 80