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_equipamento/exibir_equip.php(28): Database::Connect() #2 {main} thrown in /home/storage/a/3e/7a/brasilminingsite2/php_app/bms/includes/modulos/database/class.database.php on line 35