Hola!
Tengo el mismo problema!
Cuando intento ingresar a la dirección de mi página de moodle (
http://enfermeria.netii.net/) me sale, desde ayer en la noche el siguiente 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
Entro a mi cuenta en 000webhost.com y me indica que está activa, al ingresar a phpMyAdmin me indica el siguiente error:
Error
#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)
¿Qué puedo hacer

Mi cuenta es de moodle, tengo unos cursos que imparto y necesito la información.
Por Ftp sí puedo ingresar, ya revisé el config.php y todo está normal, ¿será un problema con el servidor donde está la base de datos (server28.000webhost.com) o será la base de datos que está dañada
Gracias por la ayuda.