Failed to connect to MySQL: (2002) Nenhuma conexão pôde ser feita porque a máquina de destino as recusou ativamente.
Make sure you have imported TFS database. (OTdir/schema.sql OR OTdir/schemas/mysql.sql OR OTdir/forgottenserver.sql)
Edit config.php with correct mysql connection details.