diff options
author | shentao <shentao@chinamobile.com> | 2017-11-15 19:21:15 +0800 |
---|---|---|
committer | shentao <shentao@chinamobile.com> | 2017-11-15 19:21:22 +0800 |
commit | 919401afdaa375b8f3006186224c987841427123 (patch) | |
tree | 8b252ce24815e0576522f3e25b218555eb7c5816 /standalone/src/main | |
parent | d1274a88d001119c155a8dd4ed47c018553da9f0 (diff) |
Change database name for usecase-ui server
Change-Id: I3ff33b6364c2cf8eade1e6f7439dd176556e20f3
Issue-Id: USECASEUI-54
Signed-off-by: shentao <shentao@chinamobile.com>
Diffstat (limited to 'standalone/src/main')
-rw-r--r-- | standalone/src/main/assembly/resources/dbscripts/mysql/usecase-ui-createdb.sql | 12 | ||||
-rw-r--r-- | standalone/src/main/assembly/resources/dbscripts/mysql/usecase-ui-createobj.sql | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/standalone/src/main/assembly/resources/dbscripts/mysql/usecase-ui-createdb.sql b/standalone/src/main/assembly/resources/dbscripts/mysql/usecase-ui-createdb.sql index 31ab5b5e..004a717a 100644 --- a/standalone/src/main/assembly/resources/dbscripts/mysql/usecase-ui-createdb.sql +++ b/standalone/src/main/assembly/resources/dbscripts/mysql/usecase-ui-createdb.sql @@ -16,16 +16,16 @@ /******************drop old database and user***************************/ use mysql; -drop database IF EXISTS usercaseui; +drop database IF EXISTS uui; delete from user where User='usecaseui'; FLUSH PRIVILEGES; /******************create new database and user***************************/ -create database usercaseui CHARACTER SET utf8; +create database uui CHARACTER SET utf8; -GRANT ALL PRIVILEGES ON usercaseui.* TO 'usercaseui'@'%' IDENTIFIED BY 'usercaseui' WITH GRANT OPTION; -GRANT ALL PRIVILEGES ON mysql.* TO 'usercaseui'@'%' IDENTIFIED BY 'usercaseui' WITH GRANT OPTION; +GRANT ALL PRIVILEGES ON uui.* TO 'uui'@'%' IDENTIFIED BY 'uui' WITH GRANT OPTION; +GRANT ALL PRIVILEGES ON mysql.* TO 'uui'@'%' IDENTIFIED BY 'uui' WITH GRANT OPTION; -GRANT ALL PRIVILEGES ON usercaseui.* TO 'usercaseui'@'localhost' IDENTIFIED BY 'usercaseui' WITH GRANT OPTION; -GRANT ALL PRIVILEGES ON mysql.* TO 'usercaseui'@'localhost' IDENTIFIED BY 'usercaseui' WITH GRANT OPTION; +GRANT ALL PRIVILEGES ON uui.* TO 'uui'@'localhost' IDENTIFIED BY 'uui' WITH GRANT OPTION; +GRANT ALL PRIVILEGES ON mysql.* TO 'uui'@'localhost' IDENTIFIED BY 'uui' WITH GRANT OPTION; FLUSH PRIVILEGES;
\ No newline at end of file diff --git a/standalone/src/main/assembly/resources/dbscripts/mysql/usecase-ui-createobj.sql b/standalone/src/main/assembly/resources/dbscripts/mysql/usecase-ui-createobj.sql index fc1e08a3..1acf5833 100644 --- a/standalone/src/main/assembly/resources/dbscripts/mysql/usecase-ui-createobj.sql +++ b/standalone/src/main/assembly/resources/dbscripts/mysql/usecase-ui-createobj.sql @@ -14,7 +14,7 @@ -- limitations under the License. -- -use usercaseui; +use uui; SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- |