Database
Configure oxmysql and the MySQL connection string.
Almost all scripts use oxmysql for data persistence.
Connection string
Enter your connection string in server.cfg, before the resources that
depend on it:
set mysql_connection_string "mysql://user:password@localhost/database?pool_size=10"
Replace user, password and database with your credentials. The
pool_size parameter sizes the connection pool; oxmysql handles the rest
automatically.
Import the tables
Scripts that store data provide a .sql file. Import it into your database
(via phpMyAdmin, HeidiSQL, Adminer or the mysql CLI) before the first start.
The file name and the tables are indicated in the documentation of the relevant
script.
Make sure
oxmysqlstarts before your framework and your scripts inserver.cfg, otherwise the queries will fail at boot.