404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.17.71.93: ~ $
/* Copyright (c) 2015, 2023, Oracle and/or its affiliates.

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License, version 2.0,
   as published by the Free Software Foundation.

   This program is also distributed with certain software (including
   but not limited to OpenSSL) that is licensed under separate terms,
   as designated in a particular file or component or in included license
   documentation.  The authors of MySQL hereby grant you an additional
   permission to link the program and your derivative works with the
   separately licensed software that they have included with MySQL.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License, version 2.0, for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software Foundation,
   51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA */

CREATE DATABASE IF NOT EXISTS query_rewrite;

CREATE TABLE IF NOT EXISTS query_rewrite.rewrite_rules (
  id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
  pattern VARCHAR(10000) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  pattern_database VARCHAR(20) CHARACTER SET utf8 COLLATE utf8_bin,
  replacement VARCHAR(10000) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  enabled ENUM('YES', 'NO') CHARACTER SET utf8 COLLATE utf8_bin NOT NULL
    DEFAULT 'YES',
  message VARCHAR(1000) CHARACTER SET utf8 COLLATE utf8_bin,
  pattern_digest VARCHAR(32),
  normalized_pattern VARCHAR(100)
) DEFAULT CHARSET = utf8 ENGINE = INNODB;

INSTALL PLUGIN rewriter SONAME 'rewriter.so';
CREATE FUNCTION load_rewrite_rules RETURNS STRING
SONAME 'rewriter.so';

DELIMITER //

CREATE PROCEDURE query_rewrite.flush_rewrite_rules()
BEGIN
  DECLARE message_text VARCHAR(100);
  COMMIT;
  SELECT load_rewrite_rules() INTO message_text;
  RESET QUERY CACHE;
  IF NOT message_text IS NULL THEN
    SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = message_text;
  END IF;
END //

DELIMITER ;

RESET QUERY CACHE;

Filemanager

Name Type Size Permission Actions
bulgarian Folder 0755
charsets Folder 0755
czech Folder 0755
danish Folder 0755
docs Folder 0755
dutch Folder 0755
english Folder 0755
estonian Folder 0755
french Folder 0755
german Folder 0755
greek Folder 0755
hungarian Folder 0755
italian Folder 0755
japanese Folder 0755
korean Folder 0755
norwegian Folder 0755
norwegian-ny Folder 0755
polish Folder 0755
portuguese Folder 0755
romanian Folder 0755
russian Folder 0755
serbian Folder 0755
slovak Folder 0755
spanish Folder 0755
swedish Folder 0755
ukrainian Folder 0755
debian_create_root_user.sql File 1.79 KB 0644
dictionary.txt File 24.98 KB 0644
echo_stderr File 27 B 0755
errmsg-utf8.txt File 518.77 KB 0644
fill_help_tables.sql File 1.03 MB 0644
innodb_memcached_config.sql File 3.91 KB 0644
install_rewriter.sql File 2.17 KB 0644
magic File 773 B 0644
mysql-log-rotate File 844 B 0644
mysql-systemd-start File 1.91 KB 0755
mysql_security_commands.sql File 2.12 KB 0644
mysql_sys_schema.sql File 281.58 KB 0644
mysql_system_tables.sql File 151.8 KB 0644
mysql_system_tables_data.sql File 1.19 KB 0644
mysql_test_data_timezone.sql File 10.61 KB 0644
mysqld_multi.server File 1.04 KB 0755
uninstall_rewriter.sql File 1.21 KB 0644