--no-defaults in mysql_install_db can prevent server startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Sandbox |
Invalid
|
Undecided
|
Unassigned |
Bug Description
MySQL-Sandbox-
low_level_
This call
/usr/local/
This create
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
then MariaDB 10 wan't start because the redo log are set to different size inside my_file /usr/local/
propose fix :
--- /home/svar/
+++ /home/svar/
@@ -528,8 +528,9 @@
}
my $additional_options ="$osx_options";
- my $cmd = sprintf '%s --no-defaults --user=%s --basedir=%s --datadir=%s/data',
+ my $cmd = sprintf '%s --defaults-file=%s --user=%s --basedir=%s --datadir=%s/data',
+ $msb->{
MySQL Sandbox already supports MariaDB 10 using make_sandbox.
Further support may be provided when MariaDB 10 becomes more stable.
Usage of low_level_ make_sandbox standalone is discouraged.
make_sandbox ./downloads/ mariadb- 10.0.1- linux-x86_ 64.tar. gz downloads/ mariadb- 10.0.1- linux-x86_ 64.tar. gz make_sandbox --basedir= /home/tungsten/ downloads/ 10.0.1 \ directory= msb_10_ 0_1 \ version= 10.0 \ port=10001 \ after_name \ log-error= msandbox. err sandboxes downloads/ 10.0.1 system_ user = tungsten msandbox. err /msb_10_ 0_1
unpacking /home/tungsten/
Executing low_level_
--sandbox_
--install_
--sandbox_
--no_ver_
--my_clause=
The MySQL Sandbox, version 3.0.38
(C) 2006-2013 Giuseppe Maxia
installing with the following parameters:
upper_directory = /home/tungsten/
sandbox_directory = msb_10_0_1
sandbox_port = 10001
check_port =
no_check_port =
datadir_from = script
install_version = 10.0
basedir = /home/tungsten/
tmpdir =
my_file =
operating_
db_user = msandbox
remote_access = 127.%
bind_address = 127.0.0.1
ro_user = msandbox_ro
rw_user = msandbox_rw
repl_user = rsandbox
db_password = msandbox
repl_password = rsandbox
my_clause = log-error=
master =
slaveof =
high_performance =
prompt_prefix = mysql
prompt_body = [\h] {\u} (\d) >
force =
no_ver_after_name = 1
verbose =
load_grants = 1
no_load_grants =
no_run =
no_show =
do you agree? ([Y],n) y
loading grants
. sandbox server started
Your sandbox server was installed in $HOME/sandboxes