\footnotesize
\begin{verbatim}
-git clone git://bacula.git.sourceforge.net/gitroot/bacula/bacula bacula
+git clone http://git.bacula.org/bacula bacula
\end{verbatim}
\normalsize
# This must be the path to the autochanger including its name
AUTOCHANGER_PATH="/usr/sbin/mtx"
+# Set what backend to use "postresql" "mysql" or "sqlite3"
+DBTYPE="postgresql"
+
# Set your database here
-#WHICHDB="--with-sqlite=${SQLITE_DIR}"
-#WHICHDB="--with-sqlite3=${SQLITE3_DIR}"
-#WHICHDB="--with-mysql"
-WHICHDB="--with-postgresql"
+#WHICHDB="--with-${DBTYPE}=${SQLITE3_DIR}"
+WHICHDB="--with-${DBTYPE}"
# Set this to "--with-tcp-wrappers" or "--without-tcp-wrappers"
TCPWRAPPERS="--with-tcp-wrappers"
# eg "--with-openssl=/usr/local"
OPENSSL="--with-openssl"
-# You may put your real host name here, but localhost is valid also
-# and it has the advantage that it works on a non-newtworked machine
+# You may put your real host name here, but localhost or 127.0.0.1
+# is valid also and it has the advantage that it works on a
+# non-networked machine
HOST="localhost"
\end{verbatim}
be able to create databases and modify permissions within MySQL and
PostgreSQL.
+It is possible to configure MySQL access for database accounts that
+require a password to be supplied. This can be done by creating a ~/.my.cnf
+file which supplies the credentials by default to the MySQL commandline
+utilities.
+
+\begin{verbatim}
+[client]
+host = localhost
+user = regress
+password = asecret
+\end{verbatim}
+
+A similar technique can be used PostgreSQL regression testing where the
+database is configured to require a password. The ~/.pgpass file should
+contain a line with the database connection properties.
+
+\begin{verbatim}
+hostname:port:database:username:password
+\end{verbatim}
\subsection{Running the Disk Only Regression}
\index{Regression!Running the Disk Only}