factor/unmaintained/mysql/test/create_database.sql

18 lines
757 B
MySQL
Raw Normal View History

2007-09-20 18:09:08 -04:00
--
-- Create three databases (development / test / production)
-- with prefix 'factordb_'
create database factordb_development;
create database factordb_test;
create database factordb_production;
grant all on factordb_development.* to 'factoruser'@'localhost' identified by 'mysqlfactor';
grant all on factordb_test.* to 'factoruser'@'localhost' identified by 'mysqlfactor';
grant all on factordb_production.* to 'factoruser'@'localhost' identified by 'mysqlfactor';
grant all on factordb_development.* to 'factoruser'@'*' identified by 'mysqlfactor';
grant all on factordb_test.* to 'factoruser'@'*' identified by 'mysqlfactor';
grant all on factordb_production.* to 'factoruser'@'*' identified by 'mysqlfactor';
-- End of the Script