[options] database="sqlite" #sqlite or mysql # Connect to your existing mysql database, we will create a single "scores" table with /db/ddd_db.sql [mysql] mysqlconnect_path="/var/config/mysqlconnect.php" host="localhost" username="ddd_db_admin" database="ddd_db" password="dbd_db_password" [sqlite] sqlite_password="CHANGE_ME!" #This is used to manage the sqlite database from a ui at /update_db.php # To use this file, run setup.sh with bash # or you can use # # cp example.config.cfg config.cfg # # If using sqlite (default) # you can use the existing empty ddd_db.sqlite file # and manually enter the sqlite_password into the config.cfg file # for managing the database from /update_db.php # # If using mysql # cp example.mysqlconnect.php /var/config/mysqlconnect.php # chmod 755 /var/config/mysqlconnect.php # # the mysqlconnect.php is moved to /var/config to be outside the scope of the end user, # you can place it elsewhere if you desire, be sure to update the mysqlconnect_path variable