[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.15.203.195: ~ $
CREATE TABLE fts_test (
id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY,
title VARCHAR(200),
body TEXT
) ENGINE=InnoDB;
INSERT INTO fts_test (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 fts_test (title, body);
Warnings:
Warning	124	InnoDB rebuilding table to add column FTS_DOC_ID
SELECT * FROM fts_test WHERE MATCH (title, body)
AGAINST ('Tutorial' IN NATURAL LANGUAGE MODE);
id	title	body
1	MySQL Tutorial	DBMS stands for DataBase ...
3	Optimizing MySQL	In this tutorial we will show ...
DROP INDEX idx ON fts_test;
INSERT INTO fts_test (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 fts_test (title, body);
SELECT * FROM fts_test WHERE MATCH (title, body)
AGAINST ('Tutorial' IN NATURAL LANGUAGE MODE);
id	title	body
1	MySQL Tutorial	DBMS stands for DataBase ...
3	Optimizing MySQL	In this tutorial we will show ...
7	MySQL Tutorial	DBMS stands for DataBase ...
9	Optimizing MySQL	In this tutorial we will show ...
SELECT * FROM fts_test WHERE MATCH (title,body)
AGAINST ('+MySQL -YourSQL' IN BOOLEAN MODE);
id	title	body
6	MySQL Security	When configured properly, MySQL ...
12	MySQL Security	When configured properly, MySQL ...
1	MySQL Tutorial	DBMS stands for DataBase ...
2	How To Use MySQL Well	After you went through a ...
3	Optimizing MySQL	In this tutorial we will show ...
4	1001 MySQL Tricks	1. Never run mysqld as root. 2. ...
7	MySQL Tutorial	DBMS stands for DataBase ...
8	How To Use MySQL Well	After you went through a ...
9	Optimizing MySQL	In this tutorial we will show ...
10	1001 MySQL Tricks	1. Never run mysqld as root. 2. ...
TRUNCATE TABLE fts_test;
DROP INDEX idx ON fts_test;
INSERT INTO fts_test (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 fts_test (title, body);
SELECT * FROM fts_test WHERE MATCH (title, body)
AGAINST ('Tutorial' IN NATURAL LANGUAGE MODE);
id	title	body
1	MySQL Tutorial	DBMS stands for DataBase ...
3	Optimizing MySQL	In this tutorial we will show ...
DROP TABLE fts_test;
CREATE TABLE fts_test (
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 fts_test(FTS_DOC_ID);
INSERT INTO fts_test (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 fts_test (title, body) LOCK=NONE;
ERROR 0A000: LOCK=NONE is not supported. Reason: Fulltext index creation requires a lock. Try LOCK=SHARED.
CREATE FULLTEXT INDEX idx on fts_test (title, body);
ALTER TABLE fts_test ROW_FORMAT=REDUNDANT, LOCK=NONE;
ERROR 0A000: LOCK=NONE is not supported. Reason: InnoDB presently supports one FULLTEXT index creation at a time. Try LOCK=SHARED.
ALTER TABLE fts_test ROW_FORMAT=REDUNDANT;
SELECT * FROM fts_test WHERE MATCH (title, body)
AGAINST ('Tutorial' IN NATURAL LANGUAGE MODE);
FTS_DOC_ID	title	body
1	MySQL Tutorial	DBMS stands for DataBase ...
3	Optimizing MySQL	In this tutorial we will show ...
drop index idx on fts_test;
CREATE FULLTEXT INDEX idx on fts_test (title, body);
SELECT * FROM fts_test WHERE MATCH (title, body)
AGAINST ('Tutorial' IN NATURAL LANGUAGE MODE);
FTS_DOC_ID	title	body
1	MySQL Tutorial	DBMS stands for DataBase ...
3	Optimizing MySQL	In this tutorial we will show ...
drop index idx on fts_test;
drop index FTS_DOC_ID_INDEX on fts_test;
CREATE FULLTEXT INDEX idx on fts_test (title, body);
SELECT * FROM fts_test WHERE MATCH (title, body)
AGAINST ('Tutorial' IN NATURAL LANGUAGE MODE);
FTS_DOC_ID	title	body
1	MySQL Tutorial	DBMS stands for DataBase ...
3	Optimizing MySQL	In this tutorial we will show ...
drop table fts_test;
CREATE TABLE fts_test (
FTS_DOC_ID bigint(20) unsigned NOT NULL AUTO_INCREMENT,
title varchar(255) NOT NULL DEFAULT '',
text mediumtext NOT NULL,
PRIMARY KEY (FTS_DOC_ID),
UNIQUE KEY FTS_DOC_ID_INDEX (FTS_DOC_ID),
FULLTEXT KEY idx (title,text)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
set @@auto_increment_increment=10;
INSERT INTO fts_test (title, text) 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 ...');
ANALYZE TABLE fts_test;
set @@auto_increment_increment=1;
select *, match(title, text)  AGAINST ('database') as score
from fts_test order by score desc;
FTS_DOC_ID	title	text	score
11	MySQL Tutorial	DBMS stands for DataBase ...	0.22764469683170319
51	MySQL vs. YourSQL	In the following database comparison ...	0.22764469683170319
21	How To Use MySQL Well	After you went through a ...	0
31	Optimizing MySQL	In this tutorial we will show ...	0
41	1001 MySQL Tricks	1. Never run mysqld as root. 2. ...	0
61	MySQL Security	When configured properly, MySQL ...	0
drop index idx on fts_test;
drop table fts_test;
CREATE TABLE fts_test (
FTS_DOC_ID int(20) unsigned NOT NULL AUTO_INCREMENT,
title varchar(255) NOT NULL DEFAULT '',
text mediumtext NOT NULL,
PRIMARY KEY (FTS_DOC_ID),
UNIQUE KEY FTS_DOC_ID_INDEX (FTS_DOC_ID),
FULLTEXT KEY idx (title,text)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
ERROR 42000: Incorrect column name 'FTS_DOC_ID'
CREATE TABLE fts_test (
FTS_DOC_ID bigint(20) unsigned NOT NULL AUTO_INCREMENT,
title varchar(255) NOT NULL DEFAULT '',
text mediumtext NOT NULL,
PRIMARY KEY (FTS_DOC_ID),
KEY FTS_DOC_ID_INDEX (FTS_DOC_ID),
FULLTEXT KEY idx (title,text)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
ERROR HY000: Index 'FTS_DOC_ID_INDEX' is of wrong type for an InnoDB FULLTEXT index
CREATE TABLE articles (
FTS_DOC_ID BIGINT UNSIGNED NOT NULL ,
title VARCHAR(200),
body TEXT
) ENGINE=InnoDB;
INSERT INTO articles (FTS_DOC_ID, title, body) VALUES
(9, 'MySQL Tutorial','DBMS stands for DataBase ...'),
(10, 'How To Use MySQL Well','After you went through a ...'),
(12, 'Optimizing MySQL','In this tutorial we will show ...'),
(14,'1001 MySQL Tricks','1. Never run mysqld as root. 2. ...'),
(19, 'MySQL vs. YourSQL','In the following database comparison ...'),
(20, 'MySQL Security','When configured properly, MySQL ...');
ALTER TABLE articles ADD FULLTEXT INDEX idx3 (title),
ADD FULLTEXT INDEX idx5 (title);
ERROR HY000: InnoDB presently supports one FULLTEXT index creation at a time
CREATE FULLTEXT INDEX idx on articles (title);
ALTER TABLE articles ADD FULLTEXT INDEX idx3 (title);
ALTER TABLE articles ADD INDEX t20 (title(20)), LOCK=NONE;
ALTER TABLE articles DROP INDEX t20;
INSERT INTO articles (FTS_DOC_ID, title, body) VALUES
(29, 'MySQL Tutorial','DBMS stands for DataBase ...'),
(30, 'How To Use MySQL Well','After you went through a ...'),
(32, 'Optimizing MySQL','In this tutorial we will show ...'),
(34,'1001 MySQL Tricks','1. Never run mysqld as root. 2. ...'),
(39, 'MySQL vs. YourSQL','In the following database comparison ...'),
(40, 'MySQL Security','When configured properly, MySQL ...');
SELECT * FROM articles WHERE MATCH (title)
AGAINST ('Tutorial' IN NATURAL LANGUAGE MODE);
FTS_DOC_ID	title	body
9	MySQL Tutorial	DBMS stands for DataBase ...
29	MySQL Tutorial	DBMS stands for DataBase ...
DROP INDEX idx ON articles;
SELECT * FROM articles WHERE MATCH (title)
AGAINST ('Tutorial' IN NATURAL LANGUAGE MODE);
FTS_DOC_ID	title	body
9	MySQL Tutorial	DBMS stands for DataBase ...
29	MySQL Tutorial	DBMS stands for DataBase ...
CREATE FULLTEXT INDEX idx on articles (title, body);
SELECT * FROM articles WHERE MATCH (title, body)
AGAINST ('Tutorial' IN NATURAL LANGUAGE MODE);
FTS_DOC_ID	title	body
9	MySQL Tutorial	DBMS stands for DataBase ...
12	Optimizing MySQL	In this tutorial we will show ...
29	MySQL Tutorial	DBMS stands for DataBase ...
32	Optimizing MySQL	In this tutorial we will show ...
DROP TABLE articles;
create table articles(`FTS_DOC_ID` serial,
`col32` timestamp not null,`col115` text) engine=innodb;
create fulltext index `idx5` on articles(`col115`)  ;
alter ignore table articles add primary key  (`col32`)  ;
Warnings:
Warning	1681	'IGNORE' is deprecated and will be removed in a future release.
drop table articles;
CREATE TABLE articles (
id INT UNSIGNED NOT NULL,
title VARCHAR(200),
body TEXT
) ENGINE=InnoDB;
INSERT INTO articles VALUES
(1, 'MySQL Tutorial','DBMS stands for DataBase ...')  ,
(2, 'How To Use MySQL Well','After you went through a ...'),
(3, 'Optimizing MySQL','In this tutorial we will show ...'),
(4, '1001 MySQL Tricks','1. Never run mysqld as root. 2. ...'),
(5, 'MySQL vs. YourSQL','In the following database comparison ...'),
(6, 'MySQL Security','When configured properly, MySQL ...');
CREATE FULLTEXT INDEX idx on articles (title, body);
Warnings:
Warning	124	InnoDB rebuilding table to add column FTS_DOC_ID
DROP INDEX idx ON articles;
CREATE UNIQUE INDEX idx2 ON articles(id);
CREATE FULLTEXT INDEX idx on articles (title, body);
Warnings:
Warning	124	InnoDB rebuilding table to add column FTS_DOC_ID
SELECT * FROM articles WHERE MATCH (title, body)
AGAINST ('Tutorial' IN NATURAL LANGUAGE MODE);
id	title	body
1	MySQL Tutorial	DBMS stands for DataBase ...
3	Optimizing MySQL	In this tutorial we will show ...
DROP TABLE articles;

Filemanager

Name Type Size Permission Actions
fts_compatibility.result File 9.7 KB 0644
fts_compatibility_win.result File 9.71 KB 0644
fulltext.result File 24.9 KB 0644
fulltext2.result File 7.42 KB 0644
fulltext3.result File 304 B 0644
fulltext_cache.result File 2.77 KB 0644
fulltext_distinct.result File 1.25 KB 0644
fulltext_left_join.result File 4.27 KB 0644
fulltext_misc.result File 10.42 KB 0644
fulltext_multi.result File 965 B 0644
fulltext_order_by.result File 6.18 KB 0644
fulltext_update.result File 946 B 0644
fulltext_var.result File 1.33 KB 0644
innobase_drop_fts_index_table.result File 209 B 0644
innodb-fts-basic.result File 12.32 KB 0644
innodb-fts-ddl.result File 10.25 KB 0644
innodb-fts-fic.result File 7.78 KB 0644
innodb-fts-stopword.result File 31.63 KB 0644
innodb_fts_index_table.result File 6.84 KB 0644
innodb_fts_large_records.result File 9.04 KB 0644
innodb_fts_misc.result File 61.3 KB 0644
innodb_fts_misc_1.result File 38.11 KB 0644
innodb_fts_misc_debug.result File 3.99 KB 0644
innodb_fts_multiple_index.result File 9.16 KB 0644
innodb_fts_opt.result File 22.86 KB 0644
innodb_fts_plugin.result File 1.04 KB 0644
innodb_fts_proximity.result File 7.39 KB 0644
innodb_fts_result_cache_limit.result File 1.48 KB 0644
innodb_fts_savepoint.result File 8.69 KB 0644
innodb_fts_stopword_charset.result File 10.29 KB 0644
innodb_fts_transaction.result File 41.6 KB 0644
phrase.result File 2.09 KB 0644
subexpr.result File 3.88 KB 0644
sync.result File 5.54 KB 0644
sync_block.result File 2.64 KB 0644