/home/karl/mysql/my-5.7/bin/mysqld, Version: 5.7.20-log (MySQL Community Server (GPL)). started with:
Tcp port: 12345  Unix socket: /tmp/12345/mysql_sandbox12345.sock
Time                 Id Command    Argument
# Time: 2018-02-05T02:46:43.015898Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     3
# Query_time: 0.000016  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
# administrator command: Ping;
# Time: 2018-02-05T02:46:43.015994Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     3
# Query_time: 0.000014  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
# administrator command: Quit;
# Time: 2018-02-05T02:46:43.025041Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     4
# Query_time: 0.000162  Lock_time: 0.000000 Rows_sent: 1  Rows_examined: 0
SET timestamp=1517798803;
select @@version_comment limit 1;
# Time: 2018-02-05T02:46:43.025552Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     4
# Query_time: 0.000323  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
SHOW /*!40100 ENGINE*/ INNODB STATUS;
# Time: 2018-02-05T02:46:43.025966Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     4
# Query_time: 0.000025  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
# administrator command: Quit;
# Time: 2018-02-05T02:46:43.034549Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000052  Lock_time: 0.000000 Rows_sent: 1  Rows_examined: 0
SET timestamp=1517798803;
select @@version_comment limit 1;
# Time: 2018-02-05T02:46:43.034661Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000038  Lock_time: 0.000000 Rows_sent: 1  Rows_examined: 0
SET timestamp=1517798803;
SELECT DATABASE();
# Time: 2018-02-05T02:46:43.034711Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000035  Lock_time: 0.000000 Rows_sent: 1  Rows_examined: 0
use mysql;
SET timestamp=1517798803;
# administrator command: Init DB;
# Time: 2018-02-05T02:46:43.034819Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000035  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
# Time: 2018-02-05T02:46:43.034850Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000017  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
# Time: 2018-02-05T02:46:43.034874Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000014  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
# Time: 2018-02-05T02:46:43.034900Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000017  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET NAMES utf8 */;
# Time: 2018-02-05T02:46:43.034923Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000014  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
# Time: 2018-02-05T02:46:43.034955Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000023  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40103 SET TIME_ZONE='+00:00' */;
# Time: 2018-02-05T02:46:43.034984Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000019  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
# Time: 2018-02-05T02:46:43.035008Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000015  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
# Time: 2018-02-05T02:46:43.035038Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000021  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
# Time: 2018-02-05T02:46:43.035066Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000015  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
# Time: 2018-02-05T02:46:43.035218Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000143  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
DROP TABLE IF EXISTS `columns_priv`;
# Time: 2018-02-05T02:46:43.035248Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000018  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
# Time: 2018-02-05T02:46:43.035276Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000019  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET character_set_client = utf8 */;
# Time: 2018-02-05T02:46:43.035578Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000236  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
CREATE TABLE `columns_priv` (
  `Host` char(60) COLLATE utf8_bin NOT NULL DEFAULT '',
  `Db` char(64) COLLATE utf8_bin NOT NULL DEFAULT '',
  `User` char(32) COLLATE utf8_bin NOT NULL DEFAULT '',
  `Table_name` char(64) COLLATE utf8_bin NOT NULL DEFAULT '',
  `Column_name` char(64) COLLATE utf8_bin NOT NULL DEFAULT '',
  `Timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `Column_priv` set('Select','Insert','Update','References') CHARACTER SET utf8 NOT NULL DEFAULT '',
  PRIMARY KEY (`Host`,`Db`,`User`,`Table_name`,`Column_name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Column privileges';
# Time: 2018-02-05T02:46:43.035637Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000027  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET character_set_client = @saved_cs_client */;
# Time: 2018-02-05T02:46:43.035744Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000095  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
DROP TABLE IF EXISTS `db`;
# Time: 2018-02-05T02:46:43.035779Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000021  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
# Time: 2018-02-05T02:46:43.035807Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000019  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET character_set_client = utf8 */;
# Time: 2018-02-05T02:46:43.036179Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000301  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
CREATE TABLE `db` (
  `Host` char(60) COLLATE utf8_bin NOT NULL DEFAULT '',
  `Db` char(64) COLLATE utf8_bin NOT NULL DEFAULT '',
  `User` char(32) COLLATE utf8_bin NOT NULL DEFAULT '',
  `Select_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Insert_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Update_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Delete_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Create_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Drop_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Grant_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `References_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Index_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Alter_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Create_tmp_table_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Lock_tables_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Create_view_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Show_view_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Create_routine_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Alter_routine_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Execute_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Event_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Trigger_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  PRIMARY KEY (`Host`,`Db`,`User`),
  KEY `User` (`User`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Database privileges';
# Time: 2018-02-05T02:46:43.036232Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000027  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET character_set_client = @saved_cs_client */;
# Time: 2018-02-05T02:46:43.036338Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000095  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
DROP TABLE IF EXISTS `event`;
# Time: 2018-02-05T02:46:43.036372Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000020  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
# Time: 2018-02-05T02:46:43.036401Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000019  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET character_set_client = utf8 */;
# Time: 2018-02-05T02:46:43.036759Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000310  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
CREATE TABLE `event` (
  `db` char(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
  `name` char(64) NOT NULL DEFAULT '',
  `body` longblob NOT NULL,
  `definer` char(93) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
  `execute_at` datetime DEFAULT NULL,
  `interval_value` int(11) DEFAULT NULL,
  `interval_field` enum('YEAR','QUARTER','MONTH','DAY','HOUR','MINUTE','WEEK','SECOND','MICROSECOND','YEAR_MONTH','DAY_HOUR','DAY_MINUTE','DAY_SECOND','HOUR_MINUTE','HOUR_SECOND','MINUTE_SECOND','DAY_MICROSECOND','HOUR_MICROSECOND','MINUTE_MICROSECOND','SECOND_MICROSECOND') DEFAULT NULL,
  `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `modified` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `last_executed` datetime DEFAULT NULL,
  `starts` datetime DEFAULT NULL,
  `ends` datetime DEFAULT NULL,
  `status` enum('ENABLED','DISABLED','SLAVESIDE_DISABLED') NOT NULL DEFAULT 'ENABLED',
  `on_completion` enum('DROP','PRESERVE') NOT NULL DEFAULT 'DROP',
  `sql_mode` set('REAL_AS_FLOAT','PIPES_AS_CONCAT','ANSI_QUOTES','IGNORE_SPACE','NOT_USED','ONLY_FULL_GROUP_BY','NO_UNSIGNED_SUBTRACTION','NO_DIR_IN_CREATE','POSTGRESQL','ORACLE','MSSQL','DB2','MAXDB','NO_KEY_OPTIONS','NO_TABLE_OPTIONS','NO_FIELD_OPTIONS','MYSQL323','MYSQL40','ANSI','NO_AUTO_VALUE_ON_ZERO','NO_BACKSLASH_ESCAPES','STRICT_TRANS_TABLES','STRICT_ALL_TABLES','NO_ZERO_IN_DATE','NO_ZERO_DATE','INVALID_DATES','ERROR_FOR_DIVISION_BY_ZERO','TRADITIONAL','NO_AUTO_CREATE_USER','HIGH_NOT_PRECEDENCE','NO_ENGINE_SUBSTITUTION','PAD_CHAR_TO_FULL_LENGTH') NOT NULL DEFAULT '',
  `comment` char(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
  `originator` int(10) unsigned NOT NULL,
  `time_zone` char(64) CHARACTER SET latin1 NOT NULL DEFAULT 'SYSTEM',
  `character_set_client` char(32) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `collation_connection` char(32) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `db_collation` char(32) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `body_utf8` longblob,
  PRIMARY KEY (`db`,`name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Events';
# Time: 2018-02-05T02:46:43.036802Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000024  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET character_set_client = @saved_cs_client */;
# Time: 2018-02-05T02:46:43.036899Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000087  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
DROP TABLE IF EXISTS `func`;
# Time: 2018-02-05T02:46:43.036931Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000019  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
# Time: 2018-02-05T02:46:43.036959Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000018  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET character_set_client = utf8 */;
# Time: 2018-02-05T02:46:43.037145Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000170  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
CREATE TABLE `func` (
  `name` char(64) COLLATE utf8_bin NOT NULL DEFAULT '',
  `ret` tinyint(1) NOT NULL DEFAULT '0',
  `dl` char(128) COLLATE utf8_bin NOT NULL DEFAULT '',
  `type` enum('function','aggregate') CHARACTER SET utf8 NOT NULL,
  PRIMARY KEY (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='User defined functions';
# Time: 2018-02-05T02:46:43.037181Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000022  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET character_set_client = @saved_cs_client */;
# Time: 2018-02-05T02:46:43.037272Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000082  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
DROP TABLE IF EXISTS `ndb_binlog_index`;
# Time: 2018-02-05T02:46:43.037304Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000019  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
# Time: 2018-02-05T02:46:43.037330Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000018  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET character_set_client = utf8 */;
# Time: 2018-02-05T02:46:43.037530Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000180  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
CREATE TABLE `ndb_binlog_index` (
  `Position` bigint(20) unsigned NOT NULL,
  `File` varchar(255) NOT NULL,
  `epoch` bigint(20) unsigned NOT NULL,
  `inserts` int(10) unsigned NOT NULL,
  `updates` int(10) unsigned NOT NULL,
  `deletes` int(10) unsigned NOT NULL,
  `schemaops` int(10) unsigned NOT NULL,
  `orig_server_id` int(10) unsigned NOT NULL,
  `orig_epoch` bigint(20) unsigned NOT NULL,
  `gci` int(10) unsigned NOT NULL,
  `next_position` bigint(20) unsigned NOT NULL,
  `next_file` varchar(255) NOT NULL,
  PRIMARY KEY (`epoch`,`orig_server_id`,`orig_epoch`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
# Time: 2018-02-05T02:46:43.037568Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000023  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET character_set_client = @saved_cs_client */;
# Time: 2018-02-05T02:46:43.037687Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000110  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
DROP TABLE IF EXISTS `proc`;
# Time: 2018-02-05T02:46:43.037730Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000030  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
# Time: 2018-02-05T02:46:43.037766Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000020  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET character_set_client = utf8 */;
# Time: 2018-02-05T02:46:43.038088Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000284  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
CREATE TABLE `proc` (
  `db` char(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
  `name` char(64) NOT NULL DEFAULT '',
  `type` enum('FUNCTION','PROCEDURE') NOT NULL,
  `specific_name` char(64) NOT NULL DEFAULT '',
  `language` enum('SQL') NOT NULL DEFAULT 'SQL',
  `sql_data_access` enum('CONTAINS_SQL','NO_SQL','READS_SQL_DATA','MODIFIES_SQL_DATA') NOT NULL DEFAULT 'CONTAINS_SQL',
  `is_deterministic` enum('YES','NO') NOT NULL DEFAULT 'NO',
  `security_type` enum('INVOKER','DEFINER') NOT NULL DEFAULT 'DEFINER',
  `param_list` blob NOT NULL,
  `returns` longblob NOT NULL,
  `body` longblob NOT NULL,
  `definer` char(93) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
  `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `modified` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `sql_mode` set('REAL_AS_FLOAT','PIPES_AS_CONCAT','ANSI_QUOTES','IGNORE_SPACE','NOT_USED','ONLY_FULL_GROUP_BY','NO_UNSIGNED_SUBTRACTION','NO_DIR_IN_CREATE','POSTGRESQL','ORACLE','MSSQL','DB2','MAXDB','NO_KEY_OPTIONS','NO_TABLE_OPTIONS','NO_FIELD_OPTIONS','MYSQL323','MYSQL40','ANSI','NO_AUTO_VALUE_ON_ZERO','NO_BACKSLASH_ESCAPES','STRICT_TRANS_TABLES','STRICT_ALL_TABLES','NO_ZERO_IN_DATE','NO_ZERO_DATE','INVALID_DATES','ERROR_FOR_DIVISION_BY_ZERO','TRADITIONAL','NO_AUTO_CREATE_USER','HIGH_NOT_PRECEDENCE','NO_ENGINE_SUBSTITUTION','PAD_CHAR_TO_FULL_LENGTH') NOT NULL DEFAULT '',
  `comment` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `character_set_client` char(32) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `collation_connection` char(32) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `db_collation` char(32) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `body_utf8` longblob,
  PRIMARY KEY (`db`,`name`,`type`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Stored Procedures';
# Time: 2018-02-05T02:46:43.038130Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000024  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET character_set_client = @saved_cs_client */;
# Time: 2018-02-05T02:46:43.038229Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000090  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
DROP TABLE IF EXISTS `procs_priv`;
# Time: 2018-02-05T02:46:43.038262Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000019  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
# Time: 2018-02-05T02:46:43.038290Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000018  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET character_set_client = utf8 */;
# Time: 2018-02-05T02:46:43.038511Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000199  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
CREATE TABLE `procs_priv` (
  `Host` char(60) COLLATE utf8_bin NOT NULL DEFAULT '',
  `Db` char(64) COLLATE utf8_bin NOT NULL DEFAULT '',
  `User` char(32) COLLATE utf8_bin NOT NULL DEFAULT '',
  `Routine_name` char(64) CHARACTER SET utf8 NOT NULL DEFAULT '',
  `Routine_type` enum('FUNCTION','PROCEDURE') COLLATE utf8_bin NOT NULL,
  `Grantor` char(93) COLLATE utf8_bin NOT NULL DEFAULT '',
  `Proc_priv` set('Execute','Alter Routine','Grant') CHARACTER SET utf8 NOT NULL DEFAULT '',
  `Timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`Host`,`Db`,`User`,`Routine_name`,`Routine_type`),
  KEY `Grantor` (`Grantor`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Procedure privileges';
# Time: 2018-02-05T02:46:43.038552Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000023  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET character_set_client = @saved_cs_client */;
# Time: 2018-02-05T02:46:43.038654Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000093  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
DROP TABLE IF EXISTS `proxies_priv`;
# Time: 2018-02-05T02:46:43.038687Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000019  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
# Time: 2018-02-05T02:46:43.038714Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000018  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET character_set_client = utf8 */;
# Time: 2018-02-05T02:46:43.038920Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000186  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
CREATE TABLE `proxies_priv` (
  `Host` char(60) COLLATE utf8_bin NOT NULL DEFAULT '',
  `User` char(32) COLLATE utf8_bin NOT NULL DEFAULT '',
  `Proxied_host` char(60) COLLATE utf8_bin NOT NULL DEFAULT '',
  `Proxied_user` char(32) COLLATE utf8_bin NOT NULL DEFAULT '',
  `With_grant` tinyint(1) NOT NULL DEFAULT '0',
  `Grantor` char(93) COLLATE utf8_bin NOT NULL DEFAULT '',
  `Timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`Host`,`User`,`Proxied_host`,`Proxied_user`),
  KEY `Grantor` (`Grantor`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='User proxy privileges';
# Time: 2018-02-05T02:46:43.038957Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000022  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET character_set_client = @saved_cs_client */;
# Time: 2018-02-05T02:46:43.039056Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000090  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
DROP TABLE IF EXISTS `tables_priv`;
# Time: 2018-02-05T02:46:43.039088Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000019  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
# Time: 2018-02-05T02:46:43.039115Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000017  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET character_set_client = utf8 */;
# Time: 2018-02-05T02:46:43.039337Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000197  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
CREATE TABLE `tables_priv` (
  `Host` char(60) COLLATE utf8_bin NOT NULL DEFAULT '',
  `Db` char(64) COLLATE utf8_bin NOT NULL DEFAULT '',
  `User` char(32) COLLATE utf8_bin NOT NULL DEFAULT '',
  `Table_name` char(64) COLLATE utf8_bin NOT NULL DEFAULT '',
  `Grantor` char(93) COLLATE utf8_bin NOT NULL DEFAULT '',
  `Timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `Table_priv` set('Select','Insert','Update','Delete','Create','Drop','Grant','References','Index','Alter','Create View','Show view','Trigger') CHARACTER SET utf8 NOT NULL DEFAULT '',
  `Column_priv` set('Select','Insert','Update','References') CHARACTER SET utf8 NOT NULL DEFAULT '',
  PRIMARY KEY (`Host`,`Db`,`User`,`Table_name`),
  KEY `Grantor` (`Grantor`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Table privileges';
# Time: 2018-02-05T02:46:43.039375Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000022  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET character_set_client = @saved_cs_client */;
# Time: 2018-02-05T02:46:43.039402Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000016  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
# Time: 2018-02-05T02:46:43.039427Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000016  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET character_set_client = utf8 */;
# Time: 2018-02-05T02:46:43.039714Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000228  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
CREATE TABLE IF NOT EXISTS `user` (
  `Host` char(60) COLLATE utf8_bin NOT NULL DEFAULT '',
  `User` char(32) COLLATE utf8_bin NOT NULL DEFAULT '',
  `Select_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Insert_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Update_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Delete_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Create_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Drop_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Reload_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Shutdown_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Process_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `File_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Grant_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `References_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Index_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Alter_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Show_db_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Super_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Create_tmp_table_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Lock_tables_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Execute_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Repl_slave_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Repl_client_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Create_view_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Show_view_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Create_routine_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Alter_routine_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Create_user_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Event_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Trigger_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `Create_tablespace_priv` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `ssl_type` enum('','ANY','X509','SPECIFIED') CHARACTER SET utf8 NOT NULL DEFAULT '',
  `ssl_cipher` blob NOT NULL,
  `x509_issuer` blob NOT NULL,
  `x509_subject` blob NOT NULL,
  `max_questions` int(11) unsigned NOT NULL DEFAULT '0',
  `max_updates` int(11) unsigned NOT NULL DEFAULT '0',
  `max_connections` int(11) unsigned NOT NULL DEFAULT '0',
  `max_user_connections` int(11) unsigned NOT NULL DEFAULT '0',
  `plugin` char(64) COLLATE utf8_bin NOT NULL DEFAULT 'mysql_native_password',
  `authentication_string` text COLLATE utf8_bin,
  `password_expired` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  `password_last_changed` timestamp NULL DEFAULT NULL,
  `password_lifetime` smallint(5) unsigned DEFAULT NULL,
  `account_locked` enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N',
  PRIMARY KEY (`Host`,`User`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Users and global privileges';
# Time: 2018-02-05T02:46:43.039755Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000022  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET character_set_client = @saved_cs_client */;
# Time: 2018-02-05T02:46:43.039783Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000016  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
# Time: 2018-02-05T02:46:43.039809Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000017  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET character_set_client = utf8 */;
# Time: 2018-02-05T02:46:43.039917Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000091  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
CREATE TABLE IF NOT EXISTS `general_log` (
  `event_time` timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6),
  `user_host` mediumtext NOT NULL,
  `thread_id` bigint(21) unsigned NOT NULL,
  `server_id` int(10) unsigned NOT NULL,
  `command_type` varchar(64) NOT NULL,
  `argument` mediumblob NOT NULL
) ENGINE=CSV DEFAULT CHARSET=utf8 COMMENT='General log';
# Time: 2018-02-05T02:46:43.039952Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000020  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET character_set_client = @saved_cs_client */;
# Time: 2018-02-05T02:46:43.039976Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000015  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
# Time: 2018-02-05T02:46:43.040000Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000015  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET character_set_client = utf8 */;
# Time: 2018-02-05T02:46:43.040109Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000090  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
CREATE TABLE IF NOT EXISTS `slow_log` (
  `start_time` timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6),
  `user_host` mediumtext NOT NULL,
  `query_time` time(6) NOT NULL,
  `lock_time` time(6) NOT NULL,
  `rows_sent` int(11) NOT NULL,
  `rows_examined` int(11) NOT NULL,
  `db` varchar(512) NOT NULL,
  `last_insert_id` int(11) NOT NULL,
  `insert_id` int(11) NOT NULL,
  `server_id` int(10) unsigned NOT NULL,
  `sql_text` mediumblob NOT NULL,
  `thread_id` bigint(21) unsigned NOT NULL
) ENGINE=CSV DEFAULT CHARSET=utf8 COMMENT='Slow log';
# Time: 2018-02-05T02:46:43.040142Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000018  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
# Time: 2018-02-05T02:46:43.040168Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000017  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET character_set_client = utf8 */;
# Time: 2018-02-05T02:46:43.040191Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000015  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET character_set_client = @saved_cs_client */;
# Time: 2018-02-05T02:46:43.040218Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000019  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
# Time: 2018-02-05T02:46:43.040245Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000017  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
# Time: 2018-02-05T02:46:43.040268Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000012  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
# Time: 2018-02-05T02:46:43.040292Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000013  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
# Time: 2018-02-05T02:46:43.040315Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000014  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
# Time: 2018-02-05T02:46:43.040341Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000015  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
# Time: 2018-02-05T02:46:43.040363Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000012  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
# Time: 2018-02-05T02:46:43.040384Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000011  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
# Time: 2018-02-05T02:46:43.040396Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     5
# Query_time: 0.000003  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
# administrator command: Quit;
# Time: 2018-02-05T02:46:43.043354Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     6
# Query_time: 0.000051  Lock_time: 0.000000 Rows_sent: 1  Rows_examined: 0
SET timestamp=1517798803;
select @@version_comment limit 1;
# Time: 2018-02-05T02:46:43.043476Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     6
# Query_time: 0.000084  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
CREATE DATABASE IF NOT EXISTS percona_test;
# Time: 2018-02-05T02:46:43.043498Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     6
# Query_time: 0.000004  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
# administrator command: Quit;
# Time: 2018-02-05T02:46:43.046476Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     7
# Query_time: 0.000052  Lock_time: 0.000000 Rows_sent: 1  Rows_examined: 0
SET timestamp=1517798803;
select @@version_comment limit 1;
# Time: 2018-02-05T02:46:43.047241Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     7
# Query_time: 0.000667  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
CREATE TABLE IF NOT EXISTS percona_test.sentinel (id INT PRIMARY KEY, ping VARCHAR(64) NOT NULL DEFAULT '');
# Time: 2018-02-05T02:46:43.047299Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     7
# Query_time: 0.000005  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798803;
# administrator command: Quit;
# Time: 2018-02-05T02:46:43.050851Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     8
# Query_time: 0.000051  Lock_time: 0.000000 Rows_sent: 1  Rows_examined: 0
SET timestamp=1517798803;
select @@version_comment limit 1;
# Time: 2018-02-05T02:46:43.050939Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     8
# Query_time: 0.000027  Lock_time: 0.000000 Rows_sent: 1  Rows_examined: 0
SET timestamp=1517798803;
SELECT VERSION();
# Time: 2018-02-05T02:46:43.051005Z
# User@Host: msandbox[msandbox] @ localhost []  Id:     8
# Query_time: 0.000004  Lock_time: 0.000000 Rows_sent: 1  Rows_examined: 0
SET timestamp=1517798803;
# administrator command: Quit;
# Time: 2018-02-05T02:46:44.726486Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:     9
# Query_time: 0.000052  Lock_time: 0.000000 Rows_sent: 1  Rows_examined: 0
SET timestamp=1517798804;
SELECT UNIX_TIMESTAMP();
# Time: 2018-02-05T02:46:44.726632Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:     9
# Query_time: 0.000050  Lock_time: 0.000000 Rows_sent: 1  Rows_examined: 0
SET timestamp=1517798804;
SELECT @@GLOBAL.SERVER_ID;
# Time: 2018-02-05T02:46:44.726682Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:     9
# Query_time: 0.000029  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798804;
SET @master_heartbeat_period= 30000001024;
# Time: 2018-02-05T02:46:44.726730Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:     9
# Query_time: 0.000028  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798804;
SET @master_binlog_checksum= @@global.binlog_checksum;
# Time: 2018-02-05T02:46:44.726766Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:     9
# Query_time: 0.000026  Lock_time: 0.000000 Rows_sent: 1  Rows_examined: 0
SET timestamp=1517798804;
SELECT @master_binlog_checksum;
# Time: 2018-02-05T02:46:44.726889Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:     9
# Query_time: 0.000057  Lock_time: 0.000000 Rows_sent: 1  Rows_examined: 0
SET timestamp=1517798804;
SELECT @@GLOBAL.GTID_MODE;
# Time: 2018-02-05T02:46:44.726947Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:     9
# Query_time: 0.000039  Lock_time: 0.000000 Rows_sent: 1  Rows_examined: 0
SET timestamp=1517798804;
SELECT @@GLOBAL.SERVER_UUID;
# Time: 2018-02-05T02:46:44.726995Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:     9
# Query_time: 0.000033  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798804;
SET @slave_uuid= 'cd111826-0a1e-11e8-98c3-88787342351a';
# Time: 2018-02-05T02:46:44.727014Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:     9
# Query_time: 0.000008  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798804;
# administrator command: Register Slave;
# Time: 2018-02-05T02:46:46.399787Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000064  Lock_time: 0.000000 Rows_sent: 1  Rows_examined: 0
SET timestamp=1517798806;
select @@version_comment limit 1;
# Time: 2018-02-05T02:46:46.399936Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000039  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
SET autocommit=1;
# Time: 2018-02-05T02:46:46.400040Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000074  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
DROP DATABASE IF EXISTS `sakila`;
# Time: 2018-02-05T02:46:46.400131Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000068  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
CREATE DATABASE `sakila`;
# Time: 2018-02-05T02:46:46.400166Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000020  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
use sakila;
SET timestamp=1517798806;
USE `sakila`;
# Time: 2018-02-05T02:46:46.400203Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000025  Lock_time: 0.000000 Rows_sent: 1  Rows_examined: 0
SET timestamp=1517798806;
SELECT DATABASE();
# Time: 2018-02-05T02:46:46.400233Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000017  Lock_time: 0.000000 Rows_sent: 1  Rows_examined: 0
SET timestamp=1517798806;
SELECT DATABASE();
# Time: 2018-02-05T02:46:46.400275Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000016  Lock_time: 0.000000 Rows_sent: 1  Rows_examined: 0
SET timestamp=1517798806;
# administrator command: Init DB;
# Time: 2018-02-05T02:46:46.400326Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000029  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
SET NAMES utf8;
# Time: 2018-02-05T02:46:46.400366Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000019  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
SET UNIQUE_CHECKS=0;
# Time: 2018-02-05T02:46:46.400395Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000015  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
SET FOREIGN_KEY_CHECKS=0;
# Time: 2018-02-05T02:46:46.401387Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000966  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
CREATE TABLE `actor` (
  `actor_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `first_name` varchar(45) NOT NULL,
  `last_name` varchar(45) NOT NULL,
  `last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`actor_id`),
  KEY `idx_actor_last_name` (`last_name`)
) ENGINE=InnoDB AUTO_INCREMENT=201 DEFAULT CHARSET=utf8;
# Time: 2018-02-05T02:46:46.405326Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.003914  Lock_time: 0.003888 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
LOCK TABLES `actor` WRITE;
# Time: 2018-02-05T02:46:46.405429Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000070  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
ALTER TABLE `actor` DISABLE KEYS;
# Time: 2018-02-05T02:46:46.408083Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.002468  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
INSERT INTO `actor` VALUES (1,'PENELOPE','GUINESS','2006-02-15 11:34:33');
# Time: 2018-02-05T02:46:46.408179Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000061  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
ALTER TABLE `actor` ENABLE KEYS;
# Time: 2018-02-05T02:46:46.408702Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000504  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
UNLOCK TABLES;
# Time: 2018-02-05T02:46:46.409898Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.001158  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
CREATE TABLE `address` (
  `address_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `address` varchar(50) NOT NULL,
  `address2` varchar(50) DEFAULT NULL,
  `district` varchar(20) NOT NULL,
  `city_id` smallint(5) unsigned NOT NULL,
  `postal_code` varchar(10) DEFAULT NULL,
  `phone` varchar(20) NOT NULL,
  `last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`address_id`),
  KEY `idx_fk_city_id` (`city_id`),
  CONSTRAINT `fk_address_city` FOREIGN KEY (`city_id`) REFERENCES `city` (`city_id`) ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=606 DEFAULT CHARSET=utf8;
# Time: 2018-02-05T02:46:46.410112Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000183  Lock_time: 0.000172 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
LOCK TABLES `address` WRITE;
# Time: 2018-02-05T02:46:46.410190Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000055  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
ALTER TABLE `address` DISABLE KEYS;
# Time: 2018-02-05T02:46:46.421441Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.010329  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
INSERT INTO `address` VALUES (1,'47 MySakila Drive',NULL,'Alberta',300,'','','2006-02-15 11:45:30');
# Time: 2018-02-05T02:46:46.421562Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000066  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
ALTER TABLE `address` ENABLE KEYS;
# Time: 2018-02-05T02:46:46.421629Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000048  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
UNLOCK TABLES;
# Time: 2018-02-05T02:46:46.422374Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000719  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
CREATE TABLE `category` (
  `category_id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(25) NOT NULL,
  `last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`category_id`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8;
# Time: 2018-02-05T02:46:46.422581Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000170  Lock_time: 0.000159 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
LOCK TABLES `category` WRITE;
# Time: 2018-02-05T02:46:46.422656Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000053  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
ALTER TABLE `category` DISABLE KEYS;
# Time: 2018-02-05T02:46:46.422904Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000215  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
INSERT INTO `category` VALUES (1,'Action','2006-02-15 11:46:27');
# Time: 2018-02-05T02:46:46.422981Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000052  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
ALTER TABLE `category` ENABLE KEYS;
# Time: 2018-02-05T02:46:46.423487Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000489  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
UNLOCK TABLES;
# Time: 2018-02-05T02:46:46.424442Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000888  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
CREATE TABLE `city` (
  `city_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `city` varchar(50) NOT NULL,
  `country_id` smallint(5) unsigned NOT NULL,
  `last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`city_id`),
  KEY `idx_fk_country_id` (`country_id`),
  CONSTRAINT `fk_city_country` FOREIGN KEY (`country_id`) REFERENCES `country` (`country_id`) ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=601 DEFAULT CHARSET=utf8;
# Time: 2018-02-05T02:46:46.424669Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000171  Lock_time: 0.000159 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
LOCK TABLES `city` WRITE;
# Time: 2018-02-05T02:46:46.424772Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000051  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
ALTER TABLE `city` DISABLE KEYS;
# Time: 2018-02-05T02:46:46.431725Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.006503  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
INSERT INTO `city` VALUES (1,'A Corua (La Corua)',87,'2006-02-15 11:45:25');
# Time: 2018-02-05T02:46:46.431810Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000051  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
ALTER TABLE `city` ENABLE KEYS;
# Time: 2018-02-05T02:46:46.431850Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000025  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
UNLOCK TABLES;
# Time: 2018-02-05T02:46:46.432416Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000541  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
CREATE TABLE `country` (
  `country_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `country` varchar(50) NOT NULL,
  `last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`country_id`)
) ENGINE=InnoDB AUTO_INCREMENT=110 DEFAULT CHARSET=utf8;
# Time: 2018-02-05T02:46:46.432562Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000127  Lock_time: 0.000118 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
LOCK TABLES `country` WRITE;
# Time: 2018-02-05T02:46:46.432622Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000043  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
ALTER TABLE `country` DISABLE KEYS;
# Time: 2018-02-05T02:46:46.433434Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000743  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
INSERT INTO `country` VALUES (1,'Afghanistan','2006-02-15 11:44:00');
# Time: 2018-02-05T02:46:46.433502Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000046  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
ALTER TABLE `country` ENABLE KEYS;
# Time: 2018-02-05T02:46:46.433538Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000022  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
UNLOCK TABLES;
# Time: 2018-02-05T02:46:46.434549Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000982  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
CREATE TABLE `customer` (
  `customer_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `store_id` tinyint(3) unsigned NOT NULL,
  `first_name` varchar(45) NOT NULL,
  `last_name` varchar(45) NOT NULL,
  `email` varchar(50) DEFAULT NULL,
  `address_id` smallint(5) unsigned NOT NULL,
  `active` tinyint(1) NOT NULL DEFAULT '1',
  `create_date` datetime NOT NULL,
  `last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`customer_id`),
  KEY `idx_fk_store_id` (`store_id`),
  KEY `idx_fk_address_id` (`address_id`),
  KEY `idx_last_name` (`last_name`),
  CONSTRAINT `fk_customer_address` FOREIGN KEY (`address_id`) REFERENCES `address` (`address_id`) ON UPDATE CASCADE,
  CONSTRAINT `fk_customer_store` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=600 DEFAULT CHARSET=utf8;
# Time: 2018-02-05T02:46:46.434721Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000150  Lock_time: 0.000141 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
LOCK TABLES `customer` WRITE;
# Time: 2018-02-05T02:46:46.434793Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000054  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
ALTER TABLE `customer` DISABLE KEYS;
# Time: 2018-02-05T02:46:46.446687Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.011117  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
INSERT INTO `customer` VALUES (1,1,'MARY','SMITH','MARY.SMITH@sakilacustomer.org',5,1,'2006-02-14 22:04:36','2006-02-15 11:57:20');
# Time: 2018-02-05T02:46:46.446791Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000054  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
ALTER TABLE `customer` ENABLE KEYS;
# Time: 2018-02-05T02:46:46.446832Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000025  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
UNLOCK TABLES;
# Time: 2018-02-05T02:46:46.446878Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000030  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
/*!50003 SET @saved_cs_client      = @@character_set_client */;
# Time: 2018-02-05T02:46:46.446907Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000017  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
/*!50003 SET @saved_cs_results     = @@character_set_results */;
# Time: 2018-02-05T02:46:46.446938Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000017  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
/*!50003 SET @saved_col_connection = @@collation_connection */;
# Time: 2018-02-05T02:46:46.446973Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000023  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
/*!50003 SET character_set_client  = latin1 */;
# Time: 2018-02-05T02:46:46.447008Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000017  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
/*!50003 SET character_set_results = latin1 */;
# Time: 2018-02-05T02:46:46.447036Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000015  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
/*!50003 SET collation_connection  = latin1_swedish_ci */;
# Time: 2018-02-05T02:46:46.447069Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000022  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
/*!50003 SET @saved_sql_mode       = @@sql_mode */;
# Time: 2018-02-05T02:46:46.447097Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000016  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
/*!50003 SET sql_mode              = '' */;
# Time: 2018-02-05T02:46:46.447377Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000264  Lock_time: 0.000172 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
/*!50003 CREATE*/ /*!50017 DEFINER=`msandbox`@`%`*/ /*!50003 TRIGGER customer_create_date BEFORE INSERT ON customer
	FOR EACH ROW SET NEW.create_date = NOW() */;
# Time: 2018-02-05T02:46:46.447417Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000024  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
/*!50003 SET sql_mode              = @saved_sql_mode */;
# Time: 2018-02-05T02:46:46.447449Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000019  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
/*!50003 SET character_set_client  = @saved_cs_client */;
# Time: 2018-02-05T02:46:46.447478Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000017  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
/*!50003 SET character_set_results = @saved_cs_results */;
# Time: 2018-02-05T02:46:46.447504Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000015  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
/*!50003 SET collation_connection  = @saved_col_connection */;
# Time: 2018-02-05T02:46:46.448543Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.001004  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
CREATE TABLE `film` (
  `film_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL,
  `description` text,
  `release_year` year(4) DEFAULT NULL,
  `language_id` tinyint(3) unsigned NOT NULL,
  `original_language_id` tinyint(3) unsigned DEFAULT NULL,
  `rental_duration` tinyint(3) unsigned NOT NULL DEFAULT '3',
  `rental_rate` decimal(4,2) NOT NULL DEFAULT '4.99',
  `length` smallint(5) unsigned DEFAULT NULL,
  `replacement_cost` decimal(5,2) NOT NULL DEFAULT '19.99',
  `rating` enum('G','PG','PG-13','R','NC-17') DEFAULT 'G',
  `special_features` set('Trailers','Commentaries','Deleted Scenes','Behind the Scenes') DEFAULT NULL,
  `last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`film_id`),
  KEY `idx_title` (`title`),
  KEY `idx_fk_language_id` (`language_id`),
  KEY `idx_fk_original_language_id` (`original_language_id`),
  CONSTRAINT `fk_film_language` FOREIGN KEY (`language_id`) REFERENCES `language` (`language_id`) ON UPDATE CASCADE,
  CONSTRAINT `fk_film_language_original` FOREIGN KEY (`original_language_id`) REFERENCES `language` (`language_id`) ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=1001 DEFAULT CHARSET=utf8;
# Time: 2018-02-05T02:46:46.448713Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000147  Lock_time: 0.000138 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
LOCK TABLES `film` WRITE;
# Time: 2018-02-05T02:46:46.448773Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000042  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
ALTER TABLE `film` DISABLE KEYS;
# Time: 2018-02-05T02:46:46.475076Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.023707  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
INSERT INTO `film` VALUES (1,'ACADEMY DINOSAUR','A Epic Drama of a Feminist And a Mad Scientist who must Battle a Teacher in The Canadian Rockies',2006,1,NULL,6,'0.99',86,'20.99','PG','Deleted Scenes,Behind the Scenes','2006-02-15 12:03:42');
# Time: 2018-02-05T02:46:46.475233Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000059  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
ALTER TABLE `film` ENABLE KEYS;
# Time: 2018-02-05T02:46:46.475278Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000028  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
UNLOCK TABLES;
# Time: 2018-02-05T02:46:46.476052Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000745  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
CREATE TABLE `film_actor` (
  `actor_id` smallint(5) unsigned NOT NULL,
  `film_id` smallint(5) unsigned NOT NULL,
  `last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`actor_id`,`film_id`),
  KEY `idx_fk_film_id` (`film_id`),
  CONSTRAINT `fk_film_actor_actor` FOREIGN KEY (`actor_id`) REFERENCES `actor` (`actor_id`) ON UPDATE CASCADE,
  CONSTRAINT `fk_film_actor_film` FOREIGN KEY (`film_id`) REFERENCES `film` (`film_id`) ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
# Time: 2018-02-05T02:46:46.476211Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000137  Lock_time: 0.000128 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
LOCK TABLES `film_actor` WRITE;
# Time: 2018-02-05T02:46:46.476273Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000042  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
ALTER TABLE `film_actor` DISABLE KEYS;
# Time: 2018-02-05T02:46:46.517327Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.039063  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
INSERT INTO `film_actor` VALUES (1,1,'2006-02-15 12:05:03');
# Time: 2018-02-05T02:46:46.517481Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000071  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
ALTER TABLE `film_actor` ENABLE KEYS;
# Time: 2018-02-05T02:46:46.517526Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000028  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
UNLOCK TABLES;
# Time: 2018-02-05T02:46:46.518376Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000822  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
CREATE TABLE `film_category` (
  `film_id` smallint(5) unsigned NOT NULL,
  `category_id` tinyint(3) unsigned NOT NULL,
  `last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`film_id`,`category_id`),
  KEY `fk_film_category_category` (`category_id`),
  CONSTRAINT `fk_film_category_film` FOREIGN KEY (`film_id`) REFERENCES `film` (`film_id`) ON UPDATE CASCADE,
  CONSTRAINT `fk_film_category_category` FOREIGN KEY (`category_id`) REFERENCES `category` (`category_id`) ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
# Time: 2018-02-05T02:46:46.518543Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000145  Lock_time: 0.000136 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
LOCK TABLES `film_category` WRITE;
# Time: 2018-02-05T02:46:46.518606Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000044  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
ALTER TABLE `film_category` DISABLE KEYS;
# Time: 2018-02-05T02:46:46.525975Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.007012  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
INSERT INTO `film_category` VALUES (1,6,'2006-02-15 12:07:09');
# Time: 2018-02-05T02:46:46.526071Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000055  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
ALTER TABLE `film_category` ENABLE KEYS;
# Time: 2018-02-05T02:46:46.526111Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000025  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
UNLOCK TABLES;
# Time: 2018-02-05T02:46:46.526330Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000195  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
CREATE TABLE `film_text` (
  `film_id` smallint(6) NOT NULL,
  `title` varchar(255) NOT NULL,
  `description` text,
  PRIMARY KEY (`film_id`),
  FULLTEXT KEY `idx_title_description` (`title`,`description`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
# Time: 2018-02-05T02:46:46.526439Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000093  Lock_time: 0.000086 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
LOCK TABLES `film_text` WRITE;
# Time: 2018-02-05T02:46:46.526497Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000041  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
ALTER TABLE `film_text` DISABLE KEYS;
# Time: 2018-02-05T02:46:46.531773Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.003888  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
INSERT INTO `film_text` VALUES (1,'ACADEMY DINOSAUR','A Epic Drama of a Feminist And a Mad Scientist who must Battle a Teacher in The Canadian Rockies');
# Time: 2018-02-05T02:46:46.544968Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.013144  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
ALTER TABLE `film_text` ENABLE KEYS;
# Time: 2018-02-05T02:46:46.545038Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000042  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
UNLOCK TABLES;
# Time: 2018-02-05T02:46:46.546064Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000993  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
CREATE TABLE `inventory` (
  `inventory_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `film_id` smallint(5) unsigned NOT NULL,
  `store_id` tinyint(3) unsigned NOT NULL,
  `last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`inventory_id`),
  KEY `idx_fk_film_id` (`film_id`),
  KEY `idx_store_id_film_id` (`store_id`,`film_id`),
  CONSTRAINT `fk_inventory_store` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON UPDATE CASCADE,
  CONSTRAINT `fk_inventory_film` FOREIGN KEY (`film_id`) REFERENCES `film` (`film_id`) ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4582 DEFAULT CHARSET=utf8;
# Time: 2018-02-05T02:46:46.546250Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000164  Lock_time: 0.000154 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
LOCK TABLES `inventory` WRITE;
# Time: 2018-02-05T02:46:46.546318Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000047  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
ALTER TABLE `inventory` DISABLE KEYS;
# Time: 2018-02-05T02:46:46.599398Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.051309  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
INSERT INTO `inventory` VALUES (1,1,1,'2006-02-15 12:09:17');
# Time: 2018-02-05T02:46:46.599545Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000073  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
ALTER TABLE `inventory` ENABLE KEYS;
# Time: 2018-02-05T02:46:46.599592Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000030  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
UNLOCK TABLES;
# Time: 2018-02-05T02:46:46.600238Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000622  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
CREATE TABLE `language` (
  `language_id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
  `name` char(20) NOT NULL,
  `last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`language_id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
# Time: 2018-02-05T02:46:46.600393Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000134  Lock_time: 0.000125 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
LOCK TABLES `language` WRITE;
# Time: 2018-02-05T02:46:46.600460Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000047  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
ALTER TABLE `language` DISABLE KEYS;
# Time: 2018-02-05T02:46:46.600587Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000109  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
INSERT INTO `language` VALUES (1,'English','2006-02-15 12:02:19');
# Time: 2018-02-05T02:46:46.600644Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000041  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
ALTER TABLE `language` ENABLE KEYS;
# Time: 2018-02-05T02:46:46.600678Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000021  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
UNLOCK TABLES;
# Time: 2018-02-05T02:46:46.601819Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.001108  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
CREATE TABLE `payment` (
  `payment_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `customer_id` smallint(5) unsigned NOT NULL,
  `staff_id` tinyint(3) unsigned NOT NULL,
  `rental_id` int(11) DEFAULT NULL,
  `amount` decimal(5,2) NOT NULL,
  `payment_date` datetime NOT NULL,
  `last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`payment_id`),
  KEY `idx_fk_staff_id` (`staff_id`),
  KEY `idx_fk_customer_id` (`customer_id`),
  KEY `fk_payment_rental` (`rental_id`),
  CONSTRAINT `fk_payment_rental` FOREIGN KEY (`rental_id`) REFERENCES `rental` (`rental_id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `fk_payment_customer` FOREIGN KEY (`customer_id`) REFERENCES `customer` (`customer_id`) ON UPDATE CASCADE,
  CONSTRAINT `fk_payment_staff` FOREIGN KEY (`staff_id`) REFERENCES `staff` (`staff_id`) ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=16050 DEFAULT CHARSET=utf8;
# Time: 2018-02-05T02:46:46.601989Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000147  Lock_time: 0.000138 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
LOCK TABLES `payment` WRITE;
# Time: 2018-02-05T02:46:46.602051Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000043  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
ALTER TABLE `payment` DISABLE KEYS;
# Time: 2018-02-05T02:46:46.889688Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.275454  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
INSERT INTO `payment` VALUES (1,1,1,76,'2.99','2005-05-25 11:30:37','2006-02-16 05:12:30');
# Time: 2018-02-05T02:46:46.911779Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.020782  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
INSERT INTO `payment` VALUES (14872,554,2,15690,'4.99','2005-08-23 09:53:30','2006-02-16 05:21:52');
# Time: 2018-02-05T02:46:46.911900Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000068  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
ALTER TABLE `payment` ENABLE KEYS;
# Time: 2018-02-05T02:46:46.911944Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000028  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
UNLOCK TABLES;
# Time: 2018-02-05T02:46:46.911988Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000030  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
/*!50003 SET @saved_cs_client      = @@character_set_client */;
# Time: 2018-02-05T02:46:46.912016Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000017  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
/*!50003 SET @saved_cs_results     = @@character_set_results */;
# Time: 2018-02-05T02:46:46.912043Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000016  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
/*!50003 SET @saved_col_connection = @@collation_connection */;
# Time: 2018-02-05T02:46:46.912079Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000026  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
/*!50003 SET character_set_client  = latin1 */;
# Time: 2018-02-05T02:46:46.912115Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000019  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
/*!50003 SET character_set_results = latin1 */;
# Time: 2018-02-05T02:46:46.912142Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000016  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
/*!50003 SET collation_connection  = latin1_swedish_ci */;
# Time: 2018-02-05T02:46:46.912170Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000018  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
/*!50003 SET @saved_sql_mode       = @@sql_mode */;
# Time: 2018-02-05T02:46:46.912197Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000017  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
/*!50003 SET sql_mode              = '' */;
# Time: 2018-02-05T02:46:46.912518Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000301  Lock_time: 0.000200 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
/*!50003 CREATE*/ /*!50017 DEFINER=`msandbox`@`%`*/ /*!50003 TRIGGER payment_date BEFORE INSERT ON payment
	FOR EACH ROW SET NEW.payment_date = NOW() */;
# Time: 2018-02-05T02:46:46.912560Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000025  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
/*!50003 SET sql_mode              = @saved_sql_mode */;
# Time: 2018-02-05T02:46:46.912591Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000020  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
/*!50003 SET character_set_client  = @saved_cs_client */;
# Time: 2018-02-05T02:46:46.912626Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000018  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
/*!50003 SET character_set_results = @saved_cs_results */;
# Time: 2018-02-05T02:46:46.912653Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000015  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
/*!50003 SET collation_connection  = @saved_col_connection */;
# Time: 2018-02-05T02:46:46.913938Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.001253  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
CREATE TABLE `rental` (
  `rental_id` int(11) NOT NULL AUTO_INCREMENT,
  `rental_date` datetime NOT NULL,
  `inventory_id` mediumint(8) unsigned NOT NULL,
  `customer_id` smallint(5) unsigned NOT NULL,
  `return_date` datetime DEFAULT NULL,
  `staff_id` tinyint(3) unsigned NOT NULL,
  `last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`rental_id`),
  UNIQUE KEY `rental_date` (`rental_date`,`inventory_id`,`customer_id`),
  KEY `idx_fk_inventory_id` (`inventory_id`),
  KEY `idx_fk_customer_id` (`customer_id`),
  KEY `idx_fk_staff_id` (`staff_id`),
  CONSTRAINT `fk_rental_staff` FOREIGN KEY (`staff_id`) REFERENCES `staff` (`staff_id`) ON UPDATE CASCADE,
  CONSTRAINT `fk_rental_inventory` FOREIGN KEY (`inventory_id`) REFERENCES `inventory` (`inventory_id`) ON UPDATE CASCADE,
  CONSTRAINT `fk_rental_customer` FOREIGN KEY (`customer_id`) REFERENCES `customer` (`customer_id`) ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=16050 DEFAULT CHARSET=utf8;
# Time: 2018-02-05T02:46:46.914116Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000154  Lock_time: 0.000145 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
LOCK TABLES `rental` WRITE;
# Time: 2018-02-05T02:46:46.914183Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000048  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798806;
ALTER TABLE `rental` DISABLE KEYS;
# Time: 2018-02-05T02:46:47.153486Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.227548  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
INSERT INTO `rental` VALUES (1,'2005-05-24 22:53:30',367,130,'2005-05-26 22:04:30',1,'2006-02-16 04:30:53');
# Time: 2018-02-05T02:46:47.226856Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.069531  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
INSERT INTO `rental` VALUES (12370,'2005-08-18 07:57:47',3343,503,'2005-08-22 11:32:47',1,'2006-02-16 04:30:53');
# Time: 2018-02-05T02:46:47.227082Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000096  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
ALTER TABLE `rental` ENABLE KEYS;
# Time: 2018-02-05T02:46:47.227144Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000029  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
UNLOCK TABLES;
# Time: 2018-02-05T02:46:47.227205Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000028  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
/*!50003 SET @saved_cs_client      = @@character_set_client */;
# Time: 2018-02-05T02:46:47.227250Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000014  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
/*!50003 SET @saved_cs_results     = @@character_set_results */;
# Time: 2018-02-05T02:46:47.227271Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000012  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
/*!50003 SET @saved_col_connection = @@collation_connection */;
# Time: 2018-02-05T02:46:47.227300Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000021  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
/*!50003 SET character_set_client  = latin1 */;
# Time: 2018-02-05T02:46:47.227328Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000015  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
/*!50003 SET character_set_results = latin1 */;
# Time: 2018-02-05T02:46:47.227351Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000014  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
/*!50003 SET collation_connection  = latin1_swedish_ci */;
# Time: 2018-02-05T02:46:47.227373Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000014  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
/*!50003 SET @saved_sql_mode       = @@sql_mode */;
# Time: 2018-02-05T02:46:47.227395Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000014  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
/*!50003 SET sql_mode              = '' */;
# Time: 2018-02-05T02:46:47.227741Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000335  Lock_time: 0.000245 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
/*!50003 CREATE*/ /*!50017 DEFINER=`msandbox`@`%`*/ /*!50003 TRIGGER rental_date BEFORE INSERT ON rental
	FOR EACH ROW SET NEW.rental_date = NOW() */;
# Time: 2018-02-05T02:46:47.227779Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000022  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
/*!50003 SET sql_mode              = @saved_sql_mode */;
# Time: 2018-02-05T02:46:47.227807Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000017  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
/*!50003 SET character_set_client  = @saved_cs_client */;
# Time: 2018-02-05T02:46:47.227828Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000013  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
/*!50003 SET character_set_results = @saved_cs_results */;
# Time: 2018-02-05T02:46:47.227848Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000012  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
/*!50003 SET collation_connection  = @saved_col_connection */;
# Time: 2018-02-05T02:46:47.266712Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.038842  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
CREATE TABLE `staff` (
  `staff_id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
  `first_name` varchar(45) NOT NULL,
  `last_name` varchar(45) NOT NULL,
  `address_id` smallint(5) unsigned NOT NULL,
  `picture` blob,
  `email` varchar(50) DEFAULT NULL,
  `store_id` tinyint(3) unsigned NOT NULL,
  `active` tinyint(1) NOT NULL DEFAULT '1',
  `username` varchar(16) NOT NULL,
  `password` varchar(40) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
  `last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`staff_id`),
  KEY `idx_fk_store_id` (`store_id`),
  KEY `idx_fk_address_id` (`address_id`),
  CONSTRAINT `fk_staff_store` FOREIGN KEY (`store_id`) REFERENCES `store` (`store_id`) ON UPDATE CASCADE,
  CONSTRAINT `fk_staff_address` FOREIGN KEY (`address_id`) REFERENCES `address` (`address_id`) ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
# Time: 2018-02-05T02:46:47.266800Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000043  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
/*!40101 SET character_set_client = @saved_cs_client */;
# Time: 2018-02-05T02:46:47.266997Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000151  Lock_time: 0.000142 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
LOCK TABLES `staff` WRITE;
# Time: 2018-02-05T02:46:47.267077Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000047  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
ALTER TABLE `staff` DISABLE KEYS;
# Time: 2018-02-05T02:46:47.269149Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.001498  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
INSERT INTO `staff` VALUES (1,'Mike','Hillyer',3,NULL);
# Time: 2018-02-05T02:46:47.269273Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000053  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
ALTER TABLE `staff` ENABLE KEYS;
# Time: 2018-02-05T02:46:47.269314Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000025  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
UNLOCK TABLES;
# Time: 2018-02-05T02:46:47.270951Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.001606  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
CREATE TABLE `store` (
  `store_id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
  `manager_staff_id` tinyint(3) unsigned NOT NULL,
  `address_id` smallint(5) unsigned NOT NULL,
  `last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`store_id`),
  UNIQUE KEY `idx_unique_manager` (`manager_staff_id`),
  KEY `idx_fk_address_id` (`address_id`),
  CONSTRAINT `fk_store_staff` FOREIGN KEY (`manager_staff_id`) REFERENCES `staff` (`staff_id`) ON UPDATE CASCADE,
  CONSTRAINT `fk_store_address` FOREIGN KEY (`address_id`) REFERENCES `address` (`address_id`) ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
# Time: 2018-02-05T02:46:47.271161Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000176  Lock_time: 0.000166 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
LOCK TABLES `store` WRITE;
# Time: 2018-02-05T02:46:47.271227Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000047  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
ALTER TABLE `store` DISABLE KEYS;
# Time: 2018-02-05T02:46:47.271380Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000137  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
INSERT INTO `store` VALUES (1,1,1,'2006-02-15 11:57:12'),(2,2,2,'2006-02-15 11:57:12');
# Time: 2018-02-05T02:46:47.271483Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000053  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
ALTER TABLE `store` ENABLE KEYS;
# Time: 2018-02-05T02:46:47.271898Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000377  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
UNLOCK TABLES;
# Time: 2018-02-05T02:46:47.272643Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000710  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
CREATE VIEW customer_list
AS
SELECT cu.customer_id AS ID, CONCAT(cu.first_name, _utf8' ', cu.last_name) AS name, a.address AS address, a.postal_code AS `zip code`,
	a.phone AS phone, city.city AS city, country.country AS country, IF(cu.active, _utf8'active',_utf8'') AS notes, cu.store_id AS SID
FROM customer AS cu JOIN address AS a ON cu.address_id = a.address_id JOIN city ON a.city_id = city.city_id
	JOIN country ON city.country_id = country.country_id;
# Time: 2018-02-05T02:46:47.273366Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000688  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
CREATE VIEW film_list
AS
SELECT film.film_id AS FID, film.title AS title, film.description AS description, category.name AS category, film.rental_rate AS price,
	film.length AS length, film.rating AS rating, GROUP_CONCAT(CONCAT(actor.first_name, _utf8' ', actor.last_name) SEPARATOR ', ') AS actors
FROM category LEFT JOIN film_category ON category.category_id = film_category.category_id LEFT JOIN film ON film_category.film_id = film.film_id
        JOIN film_actor ON film.film_id = film_actor.film_id
	JOIN actor ON film_actor.actor_id = actor.actor_id
GROUP BY film.film_id, category.name;
# Time: 2018-02-05T02:46:47.273786Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000352  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
CREATE VIEW nicer_but_slower_film_list
AS
SELECT film.film_id AS FID, film.title AS title, film.description AS description, category.name AS category, film.rental_rate AS price,
	film.length AS length, film.rating AS rating, GROUP_CONCAT(CONCAT(CONCAT(UCASE(SUBSTR(actor.first_name,1,1)),
	LCASE(SUBSTR(actor.first_name,2,LENGTH(actor.first_name))),_utf8' ',CONCAT(UCASE(SUBSTR(actor.last_name,1,1)),
	LCASE(SUBSTR(actor.last_name,2,LENGTH(actor.last_name)))))) SEPARATOR ', ') AS actors
FROM category LEFT JOIN film_category ON category.category_id = film_category.category_id LEFT JOIN film ON film_category.film_id = film.film_id
        JOIN film_actor ON film.film_id = film_actor.film_id
	JOIN actor ON film_actor.actor_id = actor.actor_id
GROUP BY film.film_id, category.name;
# Time: 2018-02-05T02:46:47.274145Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000324  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
CREATE VIEW staff_list
AS
SELECT s.staff_id AS ID, CONCAT(s.first_name, _utf8' ', s.last_name) AS name, a.address AS address, a.postal_code AS `zip code`, a.phone AS phone,
	city.city AS city, country.country AS country, s.store_id AS SID
FROM staff AS s JOIN address AS a ON s.address_id = a.address_id JOIN city ON a.city_id = city.city_id
	JOIN country ON city.country_id = country.country_id;
# Time: 2018-02-05T02:46:47.274921Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000722  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
CREATE VIEW sales_by_store
AS
SELECT
CONCAT(c.city, _utf8',', cy.country) AS store
, CONCAT(m.first_name, _utf8' ', m.last_name) AS manager
, SUM(p.amount) AS total_sales
FROM payment AS p
INNER JOIN rental AS r ON p.rental_id = r.rental_id
INNER JOIN inventory AS i ON r.inventory_id = i.inventory_id
INNER JOIN store AS s ON i.store_id = s.store_id
INNER JOIN address AS a ON s.address_id = a.address_id
INNER JOIN city AS c ON a.city_id = c.city_id
INNER JOIN country AS cy ON c.country_id = cy.country_id
INNER JOIN staff AS m ON s.manager_staff_id = m.staff_id
GROUP BY s.store_id
ORDER BY cy.country, c.city;
# Time: 2018-02-05T02:46:47.275182Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000214  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
CREATE VIEW sales_by_film_category
AS
SELECT
c.name AS category
, SUM(p.amount) AS total_sales
FROM payment AS p
INNER JOIN rental AS r ON p.rental_id = r.rental_id
INNER JOIN inventory AS i ON r.inventory_id = i.inventory_id
INNER JOIN film AS f ON i.film_id = f.film_id
INNER JOIN film_category AS fc ON f.film_id = fc.film_id
INNER JOIN category AS c ON fc.category_id = c.category_id
GROUP BY c.name
ORDER BY total_sales DESC;
# Time: 2018-02-05T02:46:47.275551Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000320  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
CREATE DEFINER=CURRENT_USER SQL SECURITY INVOKER VIEW actor_info
AS
SELECT
a.actor_id,
a.first_name,
a.last_name,
GROUP_CONCAT(DISTINCT CONCAT(c.name, ': ',
		(SELECT GROUP_CONCAT(f.title ORDER BY f.title SEPARATOR ', ')
                    FROM sakila.film f
                    INNER JOIN sakila.film_category fc
                      ON f.film_id = fc.film_id
                    INNER JOIN sakila.film_actor fa
                      ON f.film_id = fa.film_id
                    WHERE fc.category_id = c.category_id
                    AND fa.actor_id = a.actor_id
                 )
             )
             ORDER BY c.name SEPARATOR '; ')
AS film_info
FROM sakila.actor a
LEFT JOIN sakila.film_actor fa
  ON a.actor_id = fa.actor_id
LEFT JOIN sakila.film_category fc
  ON fa.film_id = fc.film_id
LEFT JOIN sakila.category c
  ON fc.category_id = c.category_id
GROUP BY a.actor_id, a.first_name, a.last_name;
# Time: 2018-02-05T02:46:47.275583Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000014  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
COMMIT;
# Time: 2018-02-05T02:46:47.276034Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000416  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
FLUSH TABLES;
# Time: 2018-02-05T02:46:47.276070Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    10
# Query_time: 0.000005  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
# administrator command: Quit;
# Time: 2018-02-05T02:46:47.278863Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    11
# Query_time: 0.000050  Lock_time: 0.000000 Rows_sent: 1  Rows_examined: 0
SET timestamp=1517798807;
select @@version_comment limit 1;
# Time: 2018-02-05T02:46:47.296247Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    11
# Query_time: 0.017352  Lock_time: 0.016992 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
ANALYZE TABLE actor, address, category, city, country, customer, film, film_actor, film_category, film_text, inventory, language, payment, rental, staff, store;
# Time: 2018-02-05T02:46:47.296332Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    11
# Query_time: 0.000008  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
# administrator command: Quit;
# Time: 2018-02-05T02:46:47.339042Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000053  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
set autocommit=0;
# Time: 2018-02-05T02:46:47.339350Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000188  Lock_time: 0.000133 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
UPDATE mysql.proc SET created='2012-06-05 00:00:00', modified='2012-06-05 00:00:00';
# Time: 2018-02-05T02:46:47.339613Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000172  Lock_time: 0.000046 Rows_sent: 31  Rows_examined: 31
SET timestamp=1517798807;
SHOW TABLES FROM mysql;
# Time: 2018-02-05T02:46:47.339852Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000060  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
CREATE DATABASE IF NOT EXISTS percona_test;
# Time: 2018-02-05T02:46:47.340019Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000089  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
DROP TABLE IF EXISTS percona_test.checksums;
# Time: 2018-02-05T02:46:47.340698Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000603  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
CREATE TABLE percona_test.checksums(
          db_tbl varchar(128) not null primary key,
          checksum int unsigned not null);
# Time: 2018-02-05T02:46:47.363917Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.023112  Lock_time: 0.023065 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
CHECKSUM TABLES mysql.columns_priv, mysql.db, mysql.engine_cost, mysql.event, mysql.func, mysql.gtid_executed, mysql.help_category, mysql.help_keyword, mysql.help_relation, mysql.help_topic, mysql.ndb_binlog_index, mysql.plugin, mysql.proc, mysql.procs_priv, mysql.proxies_priv, mysql.server_cost, mysql.servers, mysql.tables_priv, mysql.time_zone, mysql.time_zone_leap_second, mysql.time_zone_name, mysql.time_zone_transition, mysql.time_zone_transition_type, mysql.user, sakila.actor, sakila.address, sakila.category, sakila.city, sakila.country, sakila.customer, sakila.film, sakila.film_actor, sakila.film_category, sakila.film_text, sakila.inventory, sakila.language, sakila.payment, sakila.rental, sakila.staff, sakila.store;
# Time: 2018-02-05T02:46:47.364402Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000230  Lock_time: 0.000168 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
INSERT INTO percona_test.checksums(db_tbl, checksum)
   VALUES('mysql.engine_cost', 537960405);
# Time: 2018-02-05T02:46:47.364574Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000079  Lock_time: 0.000035 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
INSERT INTO percona_test.checksums(db_tbl, checksum)
   VALUES('mysql.help_category', 2621154011);
# Time: 2018-02-05T02:46:47.364677Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000063  Lock_time: 0.000032 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
INSERT INTO percona_test.checksums(db_tbl, checksum)
   VALUES('mysql.help_keyword', 2726331373);
# Time: 2018-02-05T02:46:47.364760Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000053  Lock_time: 0.000025 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
INSERT INTO percona_test.checksums(db_tbl, checksum)
   VALUES('mysql.help_relation', 3304891083);
# Time: 2018-02-05T02:46:47.364834Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000048  Lock_time: 0.000023 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
INSERT INTO percona_test.checksums(db_tbl, checksum)
   VALUES('mysql.help_topic', 1178478843);
# Time: 2018-02-05T02:46:47.364908Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000047  Lock_time: 0.000021 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
INSERT INTO percona_test.checksums(db_tbl, checksum)
   VALUES('mysql.server_cost', 3229560508);
# Time: 2018-02-05T02:46:47.364980Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000046  Lock_time: 0.000021 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
INSERT INTO percona_test.checksums(db_tbl, checksum)
   VALUES('mysql.user', 3100833990);
# Time: 2018-02-05T02:46:47.365052Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000047  Lock_time: 0.000021 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
INSERT INTO percona_test.checksums(db_tbl, checksum)
   VALUES('sakila.actor', 188518946);
# Time: 2018-02-05T02:46:47.365120Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000046  Lock_time: 0.000021 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
INSERT INTO percona_test.checksums(db_tbl, checksum)
   VALUES('sakila.address', 1939802661);
# Time: 2018-02-05T02:46:47.365189Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000046  Lock_time: 0.000021 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
INSERT INTO percona_test.checksums(db_tbl, checksum)
   VALUES('sakila.category', 1662287106);
# Time: 2018-02-05T02:46:47.365261Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000046  Lock_time: 0.000021 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
INSERT INTO percona_test.checksums(db_tbl, checksum)
   VALUES('sakila.city', 3197559470);
# Time: 2018-02-05T02:46:47.365329Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000045  Lock_time: 0.000020 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
INSERT INTO percona_test.checksums(db_tbl, checksum)
   VALUES('sakila.country', 321994950);
# Time: 2018-02-05T02:46:47.365397Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000046  Lock_time: 0.000021 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
INSERT INTO percona_test.checksums(db_tbl, checksum)
   VALUES('sakila.customer', 3588889237);
# Time: 2018-02-05T02:46:47.365468Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000049  Lock_time: 0.000024 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
INSERT INTO percona_test.checksums(db_tbl, checksum)
   VALUES('sakila.film', 3383030362);
# Time: 2018-02-05T02:46:47.365537Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000046  Lock_time: 0.000021 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
INSERT INTO percona_test.checksums(db_tbl, checksum)
   VALUES('sakila.film_actor', 3046967589);
# Time: 2018-02-05T02:46:47.365605Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000046  Lock_time: 0.000021 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
INSERT INTO percona_test.checksums(db_tbl, checksum)
   VALUES('sakila.film_category', 2595914572);
# Time: 2018-02-05T02:46:47.365673Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000046  Lock_time: 0.000021 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
INSERT INTO percona_test.checksums(db_tbl, checksum)
   VALUES('sakila.film_text', 3517545183);
# Time: 2018-02-05T02:46:47.365776Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000082  Lock_time: 0.000055 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
INSERT INTO percona_test.checksums(db_tbl, checksum)
   VALUES('sakila.inventory', 1667122127);
# Time: 2018-02-05T02:46:47.365847Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000047  Lock_time: 0.000021 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
INSERT INTO percona_test.checksums(db_tbl, checksum)
   VALUES('sakila.language', 4248231622);
# Time: 2018-02-05T02:46:47.365917Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000047  Lock_time: 0.000021 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
INSERT INTO percona_test.checksums(db_tbl, checksum)
   VALUES('sakila.payment', 3932143932);
# Time: 2018-02-05T02:46:47.365984Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000045  Lock_time: 0.000021 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
INSERT INTO percona_test.checksums(db_tbl, checksum)
   VALUES('sakila.rental', 3621860071);
# Time: 2018-02-05T02:46:47.366053Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000046  Lock_time: 0.000021 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
INSERT INTO percona_test.checksums(db_tbl, checksum)
   VALUES('sakila.staff', 1306245126);
# Time: 2018-02-05T02:46:47.366122Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000047  Lock_time: 0.000022 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
INSERT INTO percona_test.checksums(db_tbl, checksum)
   VALUES('sakila.store', 972255196);
# Time: 2018-02-05T02:46:47.366214Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000067  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
commit;
# Time: 2018-02-05T02:46:47.366276Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000019  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
rollback;
# Time: 2018-02-05T02:46:47.366293Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    12
# Query_time: 0.000004  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
# administrator command: Quit;
# Time: 2018-02-05T02:46:47.407542Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    13
# Query_time: 0.000648  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
CREATE TABLE IF NOT EXISTS percona_test.load_data (i int);
# Time: 2018-02-05T02:46:47.408859Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    13
# Query_time: 0.000273  Lock_time: 0.000159 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
LOAD DATA INFILE '/tmp/load_data_test.24252' INTO TABLE percona_test.load_data;
# Time: 2018-02-05T02:46:47.409066Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    13
# Query_time: 0.000088  Lock_time: 0.000037 Rows_sent: 1  Rows_examined: 1
SET timestamp=1517798807;
SELECT i FROM percona_test.load_data;
# Time: 2018-02-05T02:46:47.409155Z
# User@Host: msandbox[msandbox] @ localhost [127.0.0.1]  Id:    13
# Query_time: 0.000007  Lock_time: 0.000000 Rows_sent: 1  Rows_examined: 1
SET timestamp=1517798807;
# administrator command: Quit;
# Time: 2018-02-05T02:46:47.412871Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    14
# Query_time: 0.000078  Lock_time: 0.000000 Rows_sent: 1  Rows_examined: 0
SET timestamp=1517798807;
select @@version_comment limit 1;
# Time: 2018-02-05T02:46:47.413010Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    14
# Query_time: 0.000047  Lock_time: 0.000000 Rows_sent: 1  Rows_examined: 0
SET timestamp=1517798807;
SELECT MD5(RAND());
# Time: 2018-02-05T02:46:47.413118Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    14
# Query_time: 0.000008  Lock_time: 0.000000 Rows_sent: 1  Rows_examined: 0
SET timestamp=1517798807;
# administrator command: Quit;
# Time: 2018-02-05T02:46:47.416484Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    15
# Query_time: 0.000050  Lock_time: 0.000000 Rows_sent: 1  Rows_examined: 0
SET timestamp=1517798807;
select @@version_comment limit 1;
# Time: 2018-02-05T02:46:47.416539Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    15
# Query_time: 0.000023  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
SET AUTOCOMMIT=1;
# Time: 2018-02-05T02:46:47.416844Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    15
# Query_time: 0.000283  Lock_time: 0.000176 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
REPLACE INTO percona_test.sentinela (id, ping) VALUES (1, '1dcc1893f940d4b0615d8cf540d52e8c');
# Time: 2018-02-05T02:46:47.416862Z
# User@Host: msandbox[msandbox] @ localhost []  Id:    15
# Query_time: 0.000003  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1517798807;
# administrator command: Quit;
