Database migrations fail when schema includes dash
Bug #1892370 reported by
Mohammed Naser
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Mohammed Naser |
Bug Description
In our database migrations, we run the following:
'ALTER DATABASE %s DEFAULT CHARACTER SET utf8'
If usnig a database name that includes a dash, the migration fails because it requires to be wrapped by `.
Changed in nova: | |
assignee: | nobody → Mohammed Naser (mnaser) |
status: | New → In Progress |
Changed in nova: | |
importance: | Undecided → Medium |
tags: | added: db |
To post a comment you must log in.
proposed fix here: https:/ /review. opendev. org/#/c/ 747164/ 2