You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
proxysql/docker/images/mysql/mysql-simple-dump/schema.sql

21 lines
617 B

DROP DATABASE IF EXISTS test;
CREATE DATABASE test;
# Used by monitoring module for connection health
CREATE USER monitor@'%' IDENTIFIED BY 'monitor';
CREATE USER john@'%' IDENTIFIED BY 'doe';
CREATE USER danny@'%' IDENTIFIED BY 'white';
GRANT ALL PRIVILEGES ON test.* TO 'monitor'@'%';
GRANT ALL PRIVILEGES ON test.* TO 'john'@'%';
GRANT ALL PRIVILEGES ON test.* TO 'danny'@'%';
FLUSH PRIVILEGES;
USE test;
CREATE TABLE strings(value LONGTEXT);
INSERT INTO strings(value) VALUES('a');
INSERT INTO strings(value) VALUES('ab');
INSERT INTO strings(value) VALUES('abc');
INSERT INTO strings(value) VALUES('abcd');