The REST API test suite now starts a four node MariaDB cluster with docker-compose. This allows quick and easy local testing.
14 lines
499 B
SQL
14 lines
499 B
SQL
CREATE DATABASE test;
|
|
|
|
CREATE USER 'maxuser'@'127.0.0.1' IDENTIFIED BY 'maxpwd';
|
|
CREATE USER 'maxuser'@'%' IDENTIFIED BY 'maxpwd';
|
|
GRANT ALL ON *.* TO 'maxuser'@'127.0.0.1' WITH GRANT OPTION;
|
|
GRANT ALL ON *.* TO 'maxuser'@'%' WITH GRANT OPTION;
|
|
|
|
CREATE USER 'skysql'@'127.0.0.1' IDENTIFIED BY 'skysql';
|
|
CREATE USER 'skysql'@'%' IDENTIFIED BY 'skysql';
|
|
GRANT ALL ON *.* TO 'skysql'@'127.0.0.1' WITH GRANT OPTION;
|
|
GRANT ALL ON *.* TO 'skysql'@'%' WITH GRANT OPTION;
|
|
|
|
SET GLOBAL max_connections=10000;
|