Server IP : 172.67.216.182 / Your IP : 172.70.92.178 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /www/server/mysql/src/mysql-test/t/ |
Upload File : |
--source include/not_embedded.inc --source include/have_no_undo_tablespaces.inc --source include/not_windows.inc --echo #------------------------------------------------------------------------- --echo # --echo # Setup let BASEDIR= `select @@basedir`; let DDIR=$MYSQL_TMP_DIR/installdb_test; let outfile=$MYSQLTEST_VARDIR/log/ddir_perm.err; let extra_args=--no-defaults --console --log-syslog=0 --loose-skip-auto_generate_certs --loose-skip-sha256_password_auto_generate_rsa_keys --skip-ssl --basedir=$BASEDIR --lc-messages-dir=$MYSQL_SHAREDIR; --exec echo $MYSQL_TMP_DIR/.mysql_secret > $MYSQL_TMP_DIR/readpwdfilepath.txt --echo # We don't care about innodb warnings at this point CALL mtr.add_suppression("InnoDB:"); --echo # --echo #------------------------------------------------------------------------- --echo # --echo # Initialize the server with --initialize-insecure --exec $MYSQLD $extra_args --initialize-insecure --datadir=$DDIR --log-error-verbosity=1 > $outfile 2>&1 --echo # Check data directory permission. Expected value : 0750 --perl my $ddir_perms= (stat($ENV{'DDIR'}))[2]; printf "# Data directory permission with --initialize : %04o\n", $ddir_perms &0777 EOF --echo # --echo #------------------------------------------------------------------------- --echo # --echo # Clean-up --perl use File::Path 'rmtree'; $DDIR=$ENV{"DDIR"}; rmtree([ "$DDIR" ]); EOF --echo # --echo #------------------------------------------------------------------------- --echo # --echo # Initialize the server with mysql_install_db let midparam= --insecure; --source include/m_i_db_startsvr.inc --echo # Check data directory permission. Expected value : 0750 --perl my $ddir_perms= (stat($ENV{'DDIR'}))[2]; printf "# Data directory permission with mysql_install_db : %04o\n", $ddir_perms &0777 EOF --echo # --echo #------------------------------------------------------------------------- --echo # --echo # Cleanup --echo # --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" ]); $filename1=$ENV{"MYSQL_TMP_DIR"}."/readpwd.inc"; $filename2=$ENV{"MYSQL_TMP_DIR"}."/readpwdfilepath.txt"; unlink $filename1; unlink $filename2; EOF --echo #------------------------------------------------------------------------- --echo # --echo # Restarting the server --exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect --enable_reconnect --source include/wait_until_connected_again.inc --echo # Done --echo # --echo #-------------------------------------------------------------------------