Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@flack
Created June 9, 2011 15:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flack/1016930 to your computer and use it in GitHub Desktop.
Save flack/1016930 to your computer and use it in GitHub Desktop.
# 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=
#Username for user who is able to connect to database
Username=
#Password for username
Password=
#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/midgard2/midgard.log
#Log level.
#Possible values: error, critical, warning (warn), message, info, debug
#Default level is 'warn'.
#Loglevel=message
Loglevel=debug
#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment