Merge pull request 'Fix database instructions in configuration file' (#85) from Fix_db_sqlite_settings into main

Reviewed-on: rho_n/hpr_generator#85
This commit is contained in:
Roan Horning 2023-03-04 03:49:09 +00:00
commit f0b0b5ea59

View File

@ -2,10 +2,16 @@
# 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 settings for SQLite
driver: dbi:mysql:database=hpr_hpr:hostname=localhost #database: sqlite
user: hpr-generator #driver: dbi:SQLite:hpr.db
password: zBozqN-Z2zNAz #user: (not used - leave blank)
#password: (not used - leave blank)
# Configuration settings for MySQL
#database: mysql
#driver: dbi:mysql:database=hpr_hpr:hostname=localhost
#user: hpr-generator (Suggested user with read-only privileges)
#password: ********* (Password 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