mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-11-28 11:22:14 -05:00
15 lines
680 B
Plaintext
15 lines
680 B
Plaintext
CREATE DATABASE mail CHARACTER SET utf8;
|
|
CREATE DATABASE mail_extra CHARACTER SET utf8;
|
|
CREATE DATABASE captcha CHARACTER SET utf8;
|
|
CREATE DATABASE james CHARACTER SET utf8;
|
|
|
|
CREATE USER 'mail'@'localhost' IDENTIFIED BY 'MAIL_PASSWORD';
|
|
CREATE USER 'mail_extra'@'localhost' IDENTIFIED BY 'MAIL_EXTRA_PASSWORD';
|
|
CREATE USER 'captcha'@'localhost' IDENTIFIED BY 'CAPTCHA_PASSWORD';
|
|
CREATE USER 'james'@'localhost' IDENTIFIED BY 'JAMES_PASSWORD';
|
|
|
|
GRANT ALL PRIVILEGES ON *.mail TO 'mail'@'localhost';
|
|
GRANT ALL PRIVILEGES ON *.mail_extra TO 'mail_extra'@'localhost';
|
|
GRANT ALL PRIVILEGES ON *.captcha TO 'captcha'@'localhost';
|
|
GRANT ALL PRIVILEGES ON *.james TO 'james'@'localhost';
|