Warning: Undefined property: stdClass::$debug_developer_use_pretty_exceptions in /var/www/html/lib/setuplib.php on line 78

Warning: Undefined property: stdClass::$debug_developer_use_pretty_exceptions in /var/www/html/lib/setuplib.php on line 78
Error

Error

Error: Database connection failed

It is possible that the database is overloaded or otherwise not running properly.

The site administrator should also check that the database details have been correctly specified in config.php

Debug info: Connection refused (2002)
Error code: dbconnectionfailed
Stack trace:
  • line 580 of /lib/dml/mysqli_native_moodle_database.php: dml_connection_exception thrown
  • line 230 of /lib/dml/moodle_read_slave_trait.php: call to mysqli_native_moodle_database->raw_connect()
  • line 215 of /lib/dml/moodle_read_slave_trait.php: call to mysqli_native_moodle_database->set_dbhwrite()
  • line 347 of /lib/dmllib.php: call to mysqli_native_moodle_database->connect()
  • line 687 of /lib/setup.php: call to setup_DB()
  • line 148 of /config.php: call to require_once()
  • line 30 of /index.php: call to require_once()