Failed to connect to MySQL: (1130) Host '127.0.0.1' is not allowed to connect to this MariaDB server

Install:

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

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