diff options
author | yangyan <yangyanyj@chinamobile.com> | 2019-04-26 12:13:33 +0800 |
---|---|---|
committer | yangyan <yangyanyj@chinamobile.com> | 2019-04-26 12:13:38 +0800 |
commit | 63c392e9cca3c6654e8383f49e5136fa86d1c72a (patch) | |
tree | 02ea718dd712a6b887a6a8fa22e48f482689b373 /resources/dbscripts/mysql | |
parent | 7bf76230fee1e4a436c8b5fb6c6b8fcde610f87f (diff) |
update service name
Change-Id: I564aceafe7c421398d7c67f9983f064fd9ae02d2
Issue-ID: MODELING-156
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'resources/dbscripts/mysql')
-rw-r--r-- | resources/dbscripts/mysql/modeling-gengricparser-createdb.sql | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/resources/dbscripts/mysql/modeling-gengricparser-createdb.sql b/resources/dbscripts/mysql/modeling-gengricparser-createdb.sql index 90d4166..d868899 100644 --- a/resources/dbscripts/mysql/modeling-gengricparser-createdb.sql +++ b/resources/dbscripts/mysql/modeling-gengricparser-createdb.sql @@ -17,12 +17,12 @@ /******************create database and user***************************/ use mysql; -create database if not exists genericpaser CHARACTER SET utf8; +create database if not exists genericparser CHARACTER SET utf8; -GRANT ALL PRIVILEGES ON genericpaser.* TO 'genericpaser'@'%' IDENTIFIED BY 'genericpaser' WITH GRANT OPTION; -GRANT ALL PRIVILEGES ON mysql.* TO 'genericpaser'@'%' IDENTIFIED BY 'genericpaser' WITH GRANT OPTION; +GRANT ALL PRIVILEGES ON genericparser.* TO 'genericparser'@'%' IDENTIFIED BY 'genericparser' WITH GRANT OPTION; +GRANT ALL PRIVILEGES ON mysql.* TO 'genericparser'@'%' IDENTIFIED BY 'genericparser' WITH GRANT OPTION; -GRANT ALL PRIVILEGES ON genericpaser.* TO 'genericpaser'@'localhost' IDENTIFIED BY 'genericpaser' WITH GRANT OPTION; -GRANT ALL PRIVILEGES ON mysql.* TO 'genericpaser'@'localhost' IDENTIFIED BY 'genericpaser' WITH GRANT OPTION; +GRANT ALL PRIVILEGES ON genericparser.* TO 'genericparser'@'localhost' IDENTIFIED BY 'genericparser' WITH GRANT OPTION; +GRANT ALL PRIVILEGES ON mysql.* TO 'genericparser'@'localhost' IDENTIFIED BY 'genericparser' WITH GRANT OPTION; FLUSH PRIVILEGES; |