Added "--no-defaults" to arguments that are passed to mysql_library_init. It tells to embedded server not to use any external my.cnf configuration file.

This commit is contained in:
VilhoRaatikka 2014-03-29 12:27:02 +02:00
parent f1acbc6926
commit 5e3ec5b3c8

View File

@ -83,6 +83,7 @@ extern int lm_enabled_logfiles_bitmask;
*/
static char* server_options[] = {
"SkySQL Gateway",
"--no-defaults",
"--datadir=",
"--language=",
"--skip-innodb",
@ -97,6 +98,7 @@ const char* default_cnf_fname = "etc/MaxScale.cnf";
static char* server_groups[] = {
"embedded",
"server",
"server",
"embedded",
"server",
"server",