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/class/class.tipo_equipamento.php(71): Database::Connect() #2 /home/storage/a/3e/7a/brasilminingsite2/php_app/bms/includes/modulos/mdl_equipamento/equip_list.php(29): Tipo_equipamento->Get('41') #3 {main} thrown in /home/storage/a/3e/7a/brasilminingsite2/php_app/bms/includes/modulos/database/class.database.php on line 35