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_artigo/class/class.artigo.php(121): Database::Connect() #2 /home/storage/a/3e/7a/brasilminingsite2/php_app/bms/index.php(21): Artigo->GetList(Array, '', false, '0,1') #3 {main} thrown in /home/storage/a/3e/7a/brasilminingsite2/php_app/bms/includes/modulos/database/class.database.php on line 35