Failed to connect to MySQL: (1045) Access denied for user 'root'@'localhost' (using password: YES)
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.