2013-08-19 14:50:08 -04:00
|
|
|
CREATE DATABASE mail DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
|
|
|
|
CREATE DATABASE mail_extra DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
|
|
|
|
CREATE DATABASE captcha DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
|
2013-09-23 16:10:07 -04:00
|
|
|
CREATE DATABASE store DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
|
2013-09-16 14:58:37 -04:00
|
|
|
CREATE DATABASE postfix DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
|
2013-08-18 16:09:58 -04:00
|
|
|
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';
|
2013-09-23 16:10:07 -04:00
|
|
|
CREATE USER 'store'@'localhost' IDENTIFIED BY 'STORE_PASSWORD';
|
2013-08-18 16:09:58 -04:00
|
|
|
CREATE USER 'james'@'localhost' IDENTIFIED BY 'JAMES_PASSWORD';
|
2013-09-16 14:58:37 -04:00
|
|
|
CREATE USER 'postfix'@'localhost' IDENTIFIED BY 'postfix';
|
2013-08-18 16:09:58 -04:00
|
|
|
|
2013-08-19 14:50:08 -04:00
|
|
|
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';
|
2013-09-23 16:10:07 -04:00
|
|
|
GRANT ALL PRIVILEGES ON store.* TO 'store'@'localhost';
|
2013-08-19 14:50:08 -04:00
|
|
|
GRANT ALL PRIVILEGES ON james.* TO 'james'@'localhost';
|
2013-09-16 14:58:37 -04:00
|
|
|
GRANT ALL PRIVILEGES ON postfix.* TO 'postfix'@'localhost';
|