X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=solution%2Fintegration%2Fsmo%2Fonap-policy%2Fconfig%2Fdb%2Fcreate-db.sql;fp=solution%2Fintegration%2Fsmo%2Fonap-policy%2Fconfig%2Fdb%2Fcreate-db.sql;h=bc6443122966f9449ef343a13f8e35dae576769e;hb=514ea504fa114524513fc4a83a6d83b2f6754903;hp=0000000000000000000000000000000000000000;hpb=3fc488d26e6b5a3ec0aa7073880e6e64959332cd;p=oam.git diff --git a/solution/integration/smo/onap-policy/config/db/create-db.sql b/solution/integration/smo/onap-policy/config/db/create-db.sql new file mode 100644 index 0000000..bc64431 --- /dev/null +++ b/solution/integration/smo/onap-policy/config/db/create-db.sql @@ -0,0 +1,13 @@ +# +# Create CLDS database objects (tables, etc.) +# +# +CREATE DATABASE IF NOT EXISTS `cldsdb4`; +CREATE DATABASE IF NOT EXISTS `policyadmin`; +CREATE DATABASE IF NOT EXISTS `controlloop`; +USE `cldsdb4`; +DROP USER 'clds'; +CREATE USER 'clds'; +GRANT ALL on cldsdb4.* to 'clds' identified by 'sidnnd83K' with GRANT OPTION; +FLUSH PRIVILEGES; +