/etc/midgard2/conf.d/midgard.conf.example is in midgard2-common 10.05.7.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 | # This is example configuration file
# Do not create config files with conf extension
[MidgardDir]
# Shared files, architecture independent
# Default is $prefix/share/midgard
#ShareDir=
# Application specific files
# Default is /var(/local)/lib/midgard
#VarDir=
# Directory to store binary data
# Default is /var(/local)/lib/midgard/blobs/DBNAME
#BlobDir=
# Directory for cached data
# Default is /var/cache/midgard
#CacheDir=
[MidgardDatabase]
#Database type, by default MySQL
#Values: MySQL, PostgreSQL, FreeTDS, ODBC, SQLite
Type=MySQL
#Database host ( 'localhost' by default )
Host=
#Database port (0 by default)
#Port=3306
#Name of the database
Name=midgard
#Username for user who is able to connect to database
Username=midgard
#Password for username
Password=midgard
#Directory for SQLite database file ('~/.midgard2/data' by default)
#DatabaseDir=
#Default language used by application. Unknown by default.
#DefaultLanguage=pl
#Full path to logfile. In none is defined output will be printed to stdout.
#There's no default value for log file.
#Logfile=/var/log/midgard/midgard.log
#Log level.
#Possible values: error, critical, warning (warn), message, info, debug
#Default level is 'warn'.
#Loglevel=message
#Create tables and columns. Boolean value. Default is false
#TableCreate=true
#Update tables and columns. Set to true if you want to modify already
#existing tables and columns. Boolean value. Default is false.
#TableUpdate=true
#You shouldn't use configuration below in real life
#Testunit for all types defined in schema. Boolean value. Default is false.
#TestUnit=true
#Midgard person's username. Login delimeters with sitegroups may be used as well.
#No default value.
#MidgardUsername=root
#Midgard person's password
#No default value
#MidgardPassword=password
#Midgard authentication Type
#Values: Normal, PAM, Trusted
#Default value is Normal auth type
#AuthType=PAM
#Name of the file used by PAM authentication type
#Default value is 'midgard'.
#PamFile=mypamfile
#Disable or Enable GdaThreads
#Default value is false
#GdaThreads=true
|