A PHP Error was encountered

Severity: Warning

Message: mysqli::real_connect() [mysqli.real-connect]: (HY000/2013): Lost connection to MySQL server at 'reading initial communication packet', system error: 111

Filename: mysqli/mysqli_driver.php

Line Number: 202

Backtrace:

File: /home/doforneiro/www/application/models/UserModel.php
Line: 20
Function: database

File: /home/doforneiro/www/application/controllers/Home.php
Line: 10
Function: model

File: /home/doforneiro/www/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/doforneiro/www/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 573

Backtrace:

File: /home/doforneiro/www/application/models/UserModel.php
Line: 20
Function: database

File: /home/doforneiro/www/application/controllers/Home.php
Line: 10
Function: model

File: /home/doforneiro/www/index.php
Line: 315
Function: require_once

Database Error

Ocorreu um erro de banco de dados

Não foi possível conectar ao banco de dados usando as definições fornecidas.

Filename: core/Loader.php

Line Number: 353