Fix mysql command line
Command failed due to incorrect quotes Change-Id: Iadcb874705c03459b1e9ee2a06cd823251f5f4c8
This commit is contained in:
parent
1398a1b500
commit
64a3ddb965
|
@ -14,11 +14,11 @@ service:
|
|||
pre:
|
||||
- name: murano-db-create
|
||||
type: single
|
||||
command: mysql -v -u root -p{{ db.root_password }} -h {{ address(service.database) }} -e 'create database `{{ murano.db.name }}`;
|
||||
command: mysql -v -u root -p{{ db.root_password }} -h {{ address(service.database) }} -e "create database {{ murano.db.name }};
|
||||
create user '{{ murano.db.username }}'@'%' identified by '{{ murano.db.password }}'
|
||||
{% if db.tls.enabled %} require ssl {% endif %};
|
||||
grant all privileges on `{{ murano.db.name }}`.* to "{{ murano.db.username }}"@"%" identified by "{{ murano.db.password }}"
|
||||
{% if db.tls.enabled %} require ssl {% endif %};'
|
||||
grant all privileges on {{ murano.db.name }}.* to '{{ murano.db.username }}'@'%' identified by '{{ murano.db.password }}'
|
||||
{% if db.tls.enabled %} require ssl {% endif %};"
|
||||
dependencies:
|
||||
- {{ service.database }}
|
||||
- name: murano-db-sync
|
||||
|
|
Loading…
Reference in New Issue