Automatically Create a MySQL Database

Revision as of 14:00, 27 February 2015 by TCAWiki (talk | contribs) (Created page with "== Preparing the server == * Install the MySQL server on your server. * Install phpMyAdmin if you want to provide a way to manage the database. == Configure the game == === C...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Preparing the server

  • Install the MySQL server on your server.
  • Install phpMyAdmin if you want to provide a way to manage the database.

Configure the game

Create variables

  • Configure variables for the MySQL user and password. Go to Settings > Games > Select the game > Variables. Create 2 new variables:
    • Name: MySQLUser
    • Preserve value: Checked
    • Name: MySQLPassword
    • Preserve value: Checked

Create the scripts

Retrieved from "https://help.tcadmin.com/index.php?title=Automatically_Create_a_MySQL_Database&oldid=1231"