mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
Add anon-data, dockersetup, start script. User passwords set to test
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
|
||||
DROP DATABASE IF EXISTS now_test; CREATE DATABASE now_test CHARACTER SET latin1;
|
||||
DROP DATABASE IF EXISTS now_log_test; CREATE DATABASE now_log_test CHARACTER SET latin1;
|
||||
SET names 'latin1';
|
||||
USE now_test
|
||||
SOURCE /docker-entrypoint-initdb.d/sqlfiles/now_anon.sql
|
||||
USE now_log_test
|
||||
SOURCE /docker-entrypoint-initdb.d/sqlfiles/now_log_anon.sql
|
||||
USE now_test
|
||||
CREATE USER 'now_test'@'localhost' IDENTIFIED BY 'mariadb_password';
|
||||
GRANT SELECT, INSERT, UPDATE ON `now_log_test`.* TO 'now_test'@'localhost';
|
||||
GRANT SELECT, INSERT, UPDATE, DELETE ON `now_test`.* TO 'now_test'@'localhost';
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user