⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.124
Server IP:
50.28.103.30
Server:
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software:
nginx/1.28.0
PHP Version:
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
server
/
mysql
/
mysql-test
/
suite
/
ndb_ddl
/
View File Name :
verify_mysql_dd.inc
# Verify that contents of directory for databases # ndb_ddl_test and ndb_ddkl_test2 match on all mysqld echo == verify_mysql_dd.inc ==; # First create the reference --connection mysqld1 let $ref_file=$MYSQLTEST_VARDIR/tmp/ndb_ddl_ref.txt; let $data_dir=`select @@datadir`; --list_files_write_file $ref_file $data_dir/ndb_ddl_test --list_files_append_file $ref_file $data_dir/ndb_ddl_test2 # Then iterate all mysqlds and check the contents of # the database directory is the same let $i = $NUM_MYSQLDS; while($i) { --connection mysqld$i let $file=$MYSQLTEST_VARDIR/tmp/ndb_ddl_$i.txt; let $data_dir=`select @@datadir`; --list_files_write_file $file $data_dir/ndb_ddl_test --list_files_append_file $file $data_dir/ndb_ddl_test2 --diff_files $ref_file $file --remove_file $file dec $i; } --remove_file $ref_file connection default;