Archived
4
2

Update database configuration instructions

Make sure to include both SQLite and MySQL configuration options.
This commit is contained in:
Roan Horning 2023-03-03 22:27:41 -05:00
parent e7e752f1e8
commit d789c8e1b0
Signed by: rho_n
GPG Key ID: 234AEF20B72D5769

View File

@ -2,10 +2,15 @@
# with the database. # with the database.
# dbi:<driver name [SQLite, CSV, ADO, mSQL, etc.]>:<database name> # dbi:<driver name [SQLite, CSV, ADO, mSQL, etc.]>:<database name>
[DBI] [DBI]
database: mysql # Configuration for SQLite (uncomment following settings)
driver: dbi:mysql:database=hpr_hpr:hostname=localhost #driver: dbi:SQLite:hpr.db
user: hpr-generator #user: (unused -- leave blank)
password: zBozqN-Z2zNAz #password: (unused -- leave blank)
# Configuration for MySQL (uncomment and update following settings)
#database: mysql
#driver: dbi:mysql:database=hpr_hpr:hostname=localhost
#user: hpr-generator (suggested user with read only permissions)
#password: ********* (password created for user)
# Configure the root template page which pulls in the navigation and # Configure the root template page which pulls in the navigation and
# content templates used by each page. An optional baseurl property may # content templates used by each page. An optional baseurl property may