diff --git a/etc/example.conf b/etc/example.conf index 75cb64a..a6f25f1 100644 --- a/etc/example.conf +++ b/etc/example.conf @@ -86,6 +86,23 @@ user "#bot-ops" { privs "op"; } +# Database. +database { + # Format. This can be one of the following: + # sqlite Requires database:filename. Recommended. + # mysql Requires database:name,host,username,password and that Auto be built with --with-mysql. Optional: database:port + format "sqlite"; + + # If you chose SQLite, uncomment this and choose a filename. + # filename "somebot.db"; + + # If you chose MySQL, uncomment these and set them. + # name "auto"; + # host "localhost"; + # port 3306; # Only needed if the MySQL server is running on an alternate port. + # username "root"; + # password "moocows"; +} # Locale. locale "en_US";