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 | : 3.140.247.39
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 /
innodb_fts /
t /
[ HOME SHELL ]
Name
Size
Permission
Action
basic.test
8.74
KB
-rw-r--r--
bug_32831765.test
7.42
KB
-rw-r--r--
compatibility.test
7.83
KB
-rw-r--r--
compatibility_win.test
7.67
KB
-rw-r--r--
ddl.test
9.31
KB
-rw-r--r--
disabled.def
404
B
-rw-r--r--
fic.test
7.35
KB
-rw-r--r--
foreign_key_check.test
868
B
-rw-r--r--
foreign_key_update.test
704
B
-rw-r--r--
fulltext.test
22.17
KB
-rw-r--r--
fulltext2.test
9.21
KB
-rw-r--r--
fulltext3.test
2.4
KB
-rw-r--r--
fulltext_cache.test
1.58
KB
-rw-r--r--
fulltext_distinct.test
1.28
KB
-rw-r--r--
fulltext_left_join.test
4.58
KB
-rw-r--r--
fulltext_misc.test
5.6
KB
-rw-r--r--
fulltext_multi.test
953
B
-rw-r--r--
fulltext_order_by.test
5.7
KB
-rw-r--r--
fulltext_plugin-master.opt
19
B
-rw-r--r--
fulltext_table_evict.test
1.17
KB
-rw-r--r--
fulltext_update.test
1.12
KB
-rw-r--r--
fulltext_var.test
1.39
KB
-rw-r--r--
index_table.test
3.32
KB
-rw-r--r--
innobase_drop_fts_index_table....
407
B
-rw-r--r--
large_records.test
12.23
KB
-rw-r--r--
limit_union.test
4.88
KB
-rw-r--r--
mecab_sjis-master.opt
40
B
-rw-r--r--
mecab_sjis.test
364
B
-rw-r--r--
mecab_ujis-master.opt
40
B
-rw-r--r--
mecab_ujis.test
368
B
-rw-r--r--
mecab_utf8-master.opt
40
B
-rw-r--r--
mecab_utf8.test
335
B
-rw-r--r--
misc.test
56.53
KB
-rw-r--r--
misc_1.test
33.18
KB
-rw-r--r--
misc_debug.test
5.17
KB
-rw-r--r--
multiple_index.test
6.37
KB
-rw-r--r--
ngram-master.opt
19
B
-rw-r--r--
ngram.test
13.15
KB
-rw-r--r--
ngram_1.test
2.01
KB
-rw-r--r--
ngram_2-master.opt
19
B
-rw-r--r--
ngram_2.test
4.18
KB
-rw-r--r--
ngram_debug.test
6.61
KB
-rw-r--r--
opt-master.opt
21
B
-rw-r--r--
opt.test
34.27
KB
-rw-r--r--
phrase.test
1
KB
-rw-r--r--
phrase_clear_no_match.test
2.41
KB
-rw-r--r--
plugin-master.opt
19
B
-rw-r--r--
plugin.test
6.69
KB
-rw-r--r--
plugin_1-master.opt
19
B
-rw-r--r--
plugin_1.test
11.22
KB
-rw-r--r--
plugin_debug-master.opt
19
B
-rw-r--r--
plugin_debug.test
9.57
KB
-rw-r--r--
proximity.test
7.89
KB
-rw-r--r--
result_cache_limit.test
1.76
KB
-rw-r--r--
savepoint.test
9.09
KB
-rw-r--r--
stopword.test
30.68
KB
-rw-r--r--
subexpr.test
2.09
KB
-rw-r--r--
sync.test
5.37
KB
-rw-r--r--
sync_block.test
3.36
KB
-rw-r--r--
sync_ddl.test
5.32
KB
-rw-r--r--
tablespace_location.test
5.06
KB
-rw-r--r--
tablespace_location_error.test
494
B
-rw-r--r--
transaction.test
31.15
KB
-rw-r--r--
truncate.opt
29
B
-rw-r--r--
truncate.test
1.51
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : fic.test
# This is the basic function tests for innodb FTS -- source include/have_innodb.inc call mtr.add_suppression("\\[Warning\\] InnoDB: A new Doc ID must be supplied while updating FTS indexed columns."); call mtr.add_suppression("\\[Warning\\] InnoDB: FTS Doc ID must be larger than [0-9]+ for table `test`.`articles`"); # Create FTS table CREATE TABLE articles ( id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY, title VARCHAR(200), body TEXT ) ENGINE=InnoDB; # Insert six rows INSERT INTO articles (title,body) VALUES ('MySQL Tutorial','DBMS stands for DataBase ...') , ('How To Use MySQL Well','After you went through a ...'), ('Optimizing MySQL','In this tutorial we will show ...'), ('1001 MySQL Tricks','1. Never run mysqld as root. 2. ...'), ('MySQL vs. YourSQL','In the following database comparison ...'), ('MySQL Security','When configured properly, MySQL ...'); # Create the FTS index CREATE FULLTEXT INDEX idx on articles (title, body); SELECT * FROM articles WHERE MATCH (title, body) AGAINST ('Tutorial' IN NATURAL LANGUAGE MODE); SELECT COUNT(*) FROM articles WHERE MATCH (title, body) AGAINST ('database' IN NATURAL LANGUAGE MODE); SELECT * FROM articles WHERE MATCH (title, body) AGAINST ('Tutorial' IN NATURAL LANGUAGE MODE); SELECT COUNT(IF(MATCH (title, body) AGAINST ('database' IN NATURAL LANGUAGE MODE), 1, NULL)) AS count FROM articles; ANALYZE TABLE articles; # Boolean search # Select rows contain "MySQL" but not "YourSQL" SELECT * FROM articles WHERE MATCH (title,body) AGAINST ('+MySQL -YourSQL' IN BOOLEAN MODE); # Select rows contain at least one of the two words SELECT * FROM articles WHERE MATCH (title,body) AGAINST ('DBMS Security' IN BOOLEAN MODE); # Select rows contain both "MySQL" and "YourSQL" SELECT * FROM articles WHERE MATCH (title,body) AGAINST ('+MySQL +YourSQL' IN BOOLEAN MODE); DROP INDEX idx ON articles; # Create the FTS index CREATE FULLTEXT INDEX idx on articles (title, body); CREATE FULLTEXT INDEX idx1 on articles (title); SELECT * FROM articles WHERE MATCH (title, body) AGAINST ('Tutorial' IN NATURAL LANGUAGE MODE); DROP INDEX idx ON articles; DROP INDEX idx1 ON articles; CREATE FULLTEXT INDEX idx1 on articles (title); SELECT * FROM articles WHERE MATCH (title) AGAINST ('Tutorial' IN NATURAL LANGUAGE MODE); drop table articles; # Create FTS table CREATE TABLE articles ( FTS_DOC_ID BIGINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY, title VARCHAR(200), body TEXT ) ENGINE=InnoDB; create unique index FTS_DOC_ID_INDEX on articles(FTS_DOC_ID); # Insert six rows INSERT INTO articles (title,body) VALUES ('MySQL Tutorial','DBMS stands for DataBase ...') , ('How To Use MySQL Well','After you went through a ...'), ('Optimizing MySQL','In this tutorial we will show ...'), ('1001 MySQL Tricks','1. Never run mysqld as root. 2. ...'), ('MySQL vs. YourSQL','In the following database comparison ...'), ('MySQL Security','When configured properly, MySQL ...'); # Create the FTS index CREATE FULLTEXT INDEX idx on articles (title, body); # "the" is in the default stopword, it would not be selected SELECT * FROM articles WHERE MATCH (title, body) AGAINST ('Tutorial' IN NATURAL LANGUAGE MODE); drop table articles; # Create FTS table CREATE TABLE articles ( id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY, title VARCHAR(200), body TEXT ) ENGINE=InnoDB; # Insert six rows INSERT INTO articles (title,body) VALUES ('MySQL Tutorial','DBMS stands for DataBase ...') , ('How To Use MySQL Well','After you went through a ...'), ('Optimizing MySQL','In this tutorial we will show ...'), ('1001 MySQL Tricks','1. Never run mysqld as root. 2. ...'), ('MySQL vs. YourSQL','In the following database comparison ...'), ('MySQL Security','When configured properly, MySQL ...'); CREATE FULLTEXT INDEX idx on articles (title); CREATE FULLTEXT INDEX idx2 on articles (body); # "the" is in the default stopword, it would not be selected --error 1191 SELECT * FROM articles WHERE MATCH (title, body) AGAINST ('Tutorial' IN NATURAL LANGUAGE MODE); SELECT * FROM articles WHERE MATCH (title) AGAINST ('Tutorial' IN NATURAL LANGUAGE MODE); SELECT * FROM articles WHERE MATCH (body) AGAINST ('Tutorial' IN NATURAL LANGUAGE MODE); drop index idx2 on articles; --error 1191 SELECT * FROM articles WHERE MATCH (body) AGAINST ('Tutorial' IN NATURAL LANGUAGE MODE); CREATE FULLTEXT INDEX idx2 on articles (body); SELECT * FROM articles WHERE MATCH (body) AGAINST ('Tutorial' IN NATURAL LANGUAGE MODE); UPDATE articles set title = 'aaaa' WHERE MATCH(title) AGAINST ('Tutorial' IN NATURAL LANGUAGE MODE); SELECT * FROM articles WHERE MATCH (title) AGAINST ('Tutorial' IN NATURAL LANGUAGE MODE); SELECT * FROM articles WHERE MATCH (title) AGAINST ('aaaa' IN NATURAL LANGUAGE MODE); drop table articles; CREATE TABLE articles ( FTS_DOC_ID BIGINT UNSIGNED NOT NULL , title VARCHAR(200), body TEXT ) ENGINE=InnoDB; CREATE FULLTEXT INDEX idx on articles (title); INSERT INTO articles VALUES (9, 'MySQL Tutorial','DBMS stands for DataBase ...'); # This should fail since we did not supply a new Doc ID -- error 182 UPDATE articles set title = 'bbbb' WHERE MATCH(title) AGAINST ('tutorial' IN NATURAL LANGUAGE MODE); # This should fail, since the Doc ID supplied is less than the old value 9 -- error 182 UPDATE articles set title = 'bbbb', FTS_DOC_ID=8 WHERE MATCH(title) AGAINST ('tutorial' IN NATURAL LANGUAGE MODE); # This should be successful UPDATE articles set title = 'bbbb', FTS_DOC_ID=10 WHERE MATCH(title) AGAINST ('tutorial' IN NATURAL LANGUAGE MODE); # Check update to be successful SELECT * FROM articles WHERE MATCH (title) AGAINST ('bbbb' IN NATURAL LANGUAGE MODE); SELECT * FROM articles WHERE MATCH (title) AGAINST ('tutorial' IN NATURAL LANGUAGE MODE); CREATE FULLTEXT INDEX idx2 ON articles (body); SELECT * FROM articles WHERE MATCH (body) AGAINST ('database' IN NATURAL LANGUAGE MODE); UPDATE articles set body = 'bbbb', FTS_DOC_ID=11 WHERE MATCH(body) AGAINST ('database' IN NATURAL LANGUAGE MODE); drop table articles; create table `articles`(`a` varchar(2) not null)engine=innodb; # This create index should fail. FTS_DOC_ID_INDEX is reserved as a unique # index on FTS_DOC_ID --error ER_INNODB_FT_WRONG_DOCID_INDEX create fulltext index `FTS_DOC_ID_INDEX` on `articles`(`a`); create unique index `a` on `articles`(`a`); drop table articles; # We will check validity of FTS_DOC_ID, which must be of an UNSIGNED # NOT NULL bigint CREATE TABLE wp( FTS_DOC_ID bigint PRIMARY KEY, title VARCHAR(255) NOT NULL DEFAULT '', text MEDIUMTEXT NOT NULL ) ENGINE=InnoDB; INSERT INTO wp (FTS_DOC_ID, title, text) VALUES (1, 'MySQL Tutorial','DBMS stands for DataBase ...'), (2, 'How To Use MySQL Well','After you went through a ...'); --error ER_INNODB_FT_WRONG_DOCID_COLUMN CREATE FULLTEXT INDEX idx ON wp(title, text); DROP TABLE wp; CREATE TABLE wp( FTS_DOC_ID bigint unsigned PRIMARY KEY, title VARCHAR(255) NOT NULL DEFAULT '', text MEDIUMTEXT NOT NULL ) ENGINE=InnoDB; INSERT INTO wp (FTS_DOC_ID, title, text) VALUES (1, 'MySQL Tutorial','DBMS stands for DataBase ...'), (2, 'How To Use MySQL Well','After you went through a ...'); CREATE FULLTEXT INDEX idx ON wp(title, text); SELECT FTS_DOC_ID, MATCH(title, text) AGAINST ('database') FROM wp; DROP TABLE wp;
Close