summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/mysqli/tests/connect.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/mysqli/tests/connect.inc b/ext/mysqli/tests/connect.inc
index 61ed36bdce..ea24ff89ae 100644
--- a/ext/mysqli/tests/connect.inc
+++ b/ext/mysqli/tests/connect.inc
@@ -16,7 +16,8 @@
"--datadir=$path",
"--innodb_data_home_dir=$path",
"--innodb_data_file_path=ibdata1:10M:autoextend",
- "--log-error=$path/testrun.log"
+ "--log-error=$path/testrun.log",
+ "--init-connect='CREATE DATABASE IF NOT EXISTS test;'"
);
$driver->embedded_server_start(TRUE, $args, NULL);
}