From 050a5ac414bb4390ad9bf9288fa5308277e039b9 Mon Sep 17 00:00:00 2001 From: Andy Date: Sat, 17 Aug 2013 09:44:40 -0500 Subject: [PATCH] Change default dB Engine from MyISAM to InnoDB I have long ago converted my production zoneminder dB tables to InnoDB and have not experienced any side effects. One benefit of using InnoDB is a significantly lesser chance of table corruption after an unclean shutdown. Thoughts? --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 39ae7d7a5..2d327c25c 100644 --- a/configure.ac +++ b/configure.ac @@ -16,7 +16,7 @@ AC_ARG_VAR(ZM_DB_NAME,[Name of ZoneMinder database, default zm]) AC_ARG_VAR(ZM_DB_USER,[Name of ZoneMinder database user, default zmuser]) AC_ARG_VAR(ZM_DB_PASS,[Password of ZoneMinder database user, default zmpass]) AC_ARG_VAR(ZM_SSL_LIB,[Library to use for ssl functions, default gnutls]) -AC_ARG_VAR(ZM_MYSQL_ENGINE,[MySQL engine to use with database, default MyISAM]) +AC_ARG_VAR(ZM_MYSQL_ENGINE,[MySQL engine to use with database, default InnoDB]) AC_ARG_VAR(ZM_RUNDIR,[Location of transient process files, default /var/run/zm]) AC_ARG_VAR(ZM_TMPDIR,[Location of temporary files, default /tmp/zm]) AC_ARG_VAR(ZM_LOGDIR,[Location of generated log files, default /var/log/zm]) @@ -37,7 +37,7 @@ if test "$ZM_SSL_LIB" == ""; then AC_SUBST(ZM_SSL_LIB,gnutls) fi if test "$ZM_MYSQL_ENGINE" == ""; then - AC_SUBST(ZM_MYSQL_ENGINE,MyISAM) + AC_SUBST(ZM_MYSQL_ENGINE,InnoDB) fi if test "$ZM_RUNDIR" == ""; then AC_SUBST(ZM_RUNDIR,[/var/run/zm])