Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /home/storage/a/3e/7a/brasilminingsite2/php_app/bms/includes/modulos/database/class.database.php on line 25

Fatal error: Uncaught exception 'Exception' with message 'I cannot connect to the database. Please edit configuration.php with your database configuration.' in /home/storage/a/3e/7a/brasilminingsite2/php_app/bms/includes/modulos/database/class.database.php:35 Stack trace: #0 /home/storage/a/3e/7a/brasilminingsite2/php_app/bms/includes/modulos/database/class.database.php(44): Database->Database() #1 /home/storage/a/3e/7a/brasilminingsite2/php_app/bms/includes/modulos/mdl_link/class/class.tipo_link.php(94): Database::Connect() #2 /home/storage/a/3e/7a/brasilminingsite2/php_app/bms/includes/modulos/mdl_link/index.php(24): Tipo_link->GetList(Array) #3 {main} thrown in /home/storage/a/3e/7a/brasilminingsite2/php_app/bms/includes/modulos/database/class.database.php on line 35