Failed to connect to MySQL: (2002) No such file or directory

Install:

  1. Make sure you have imported TFS database. (OTdir/forgottenserver.sql OR OTdir/schemas/mysql.sql)

  2. Import the below schema to a TFS database in phpmyadmin:
  3. Edit config.php with correct mysql connection details.