summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/init.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/init.c b/src/init.c
index 3d7bd962c..b0cad19db 100644
--- a/src/init.c
+++ b/src/init.c
@@ -556,6 +556,11 @@ int init(int ac, char **av)
UseRDB = 0;
alog("Error: Disabling UseRDB due to errors with SQL");
}
+ } else {
+ if (MysqlSecure && UseRDB) {
+ UseRDB = 0;
+ alog("Error: MySQL password are encrypted using method in MysqlSecure disabling UseRDB");
+ }
}
#endif