From 3a3b31f7a257d145dff2cc6c339ab5ae760aad8f Mon Sep 17 00:00:00 2001 From: Prasanna Santhanam Date: Wed, 14 Dec 2011 23:42:56 +0530 Subject: [PATCH] adding the missing database creation file when we seperated cloud_simulator database from cloud --- setup/db/create-database-simulator.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 setup/db/create-database-simulator.sql diff --git a/setup/db/create-database-simulator.sql b/setup/db/create-database-simulator.sql new file mode 100644 index 00000000000..ed3e65be074 --- /dev/null +++ b/setup/db/create-database-simulator.sql @@ -0,0 +1,11 @@ +DROP DATABASE IF EXISTS `cloud_simulator`; + +CREATE DATABASE `cloud_simulator`; + +GRANT ALL ON cloud_simulator.* to cloud@`localhost` identified by 'cloud'; +GRANT ALL ON cloud_simulator.* to cloud@`%` identified by 'cloud'; + +GRANT process ON *.* TO cloud@`localhost`; +GRANT process ON *.* TO cloud@`%`; + +commit;