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
Warning: mysqli::mysqli() [mysqli.mysqli]: (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in/home/content/34/11849934/html/moodle/moodle2/lib/dml/mysqli_native_moodle_database.phpon line 76
first i download moodle 2.7
then due to same error i switch to moodle 2.63
im getting same problem i need to install moodle for my research work help me out