Current Path : /home/usr.opt/mysql57/mysql-test/include/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : /home/usr.opt/mysql57/mysql-test/include/m_i_db_startsvr.inc |
--exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect --shutdown_server --source include/wait_until_disconnected.inc --perl use File::Path 'rmtree'; $DDIR=$ENV{"MYSQL_TMP_DIR"}."/installdb_test"; rmtree([ "$DDIR" ]); EOF --echo # Execution of mysql_install_db starts............ --exec $MYSQL_INSTALL_DB --defaults-file=$MYSQL_TEST_DIR/t/m_i_db_config.cnf --mysqld-file=$MYSQLD --loose-ssl-setup-file=$MYSQL_SSL_RSA_SETUP --datadir=$DDIR --basedir=$BASEDIR --lc_messages_dir=$MYSQL_SHAREDIR --extra-sql-file=$MYSQL_TEST_DIR/t/m_i_db_createschema.sql $midparam > $MYSQLTEST_VARDIR/tmp/m_i_db.out 2>&1 --echo # Execution of mysql_install_db ends.............. --exec echo "restart:--datadir=$DDIR " > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect --enable_reconnect --source include/wait_until_connected_again.inc --remove_file $MYSQLTEST_VARDIR/tmp/m_i_db.out --perl $passwd=""; open(PWDPATH, "$ENV{MYSQL_TMP_DIR}/readpwdfilepath.txt") or die("Could not open pwdpath file"); my $filename = <PWDPATH>; chomp $filename; if (-e $filename) { open(PWDFILE, $filename) or die("Could not open password file"); my @pass = <PWDFILE>; chomp @pass; $passwd=@pass[1]; } open(FILE, ">", "$ENV{MYSQL_TMP_DIR}/readpwd.inc") or die $!; print FILE "delimiter lessprobability;\n"; print FILE "let passwd=$passwd"; print FILE "lessprobability\n"; print FILE "--delimiter ;\n"; close FILE; EOF --source $MYSQL_TMP_DIR/readpwd.inc