Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] CentOS is hard work (error in your SQL) #45

Open
noelmcloughlin opened this issue Aug 25, 2020 · 1 comment
Open

[BUG] CentOS is hard work (error in your SQL) #45

noelmcloughlin opened this issue Aug 25, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@noelmcloughlin
Copy link
Member

noelmcloughlin commented Aug 25, 2020

Your setup

Formula commit hash / release tag

Versions reports (master & minion)

Pillar / config used

pillar.example


Bug details

Describe the bug

https://bugs.launchpad.net/devstack/+bug/1791892/comments/27

- +?[38;5;242mlib/databases/mysql:configure_database_mysql:113 ?(B?[m sudo mysql -uroot -pdevstack -h127.0.0.1 -e 'CREATE USER IF NOT EXISTS '\''root'\''@'\''%'\'' identified by '\''devstack'\'';'
                  ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'IF NOT EXISTS 'root'@'%' identified by 'devstack'' at line 1

Steps to reproduce the bug

Install devstack-formula on centOS.

Expected behaviour

Attempts to fix the bug

Additional context

@noelmcloughlin noelmcloughlin added the bug Something isn't working label Aug 25, 2020
@noelmcloughlin
Copy link
Member Author

set DATABASE_PASSWORD but still see error on CentOS7.

                  +?[38;5;242mlib/databases/mysql:configure_database_mysql:113 ?(B?[m sudo mysql -uroot -pdevstack -h127.0.0.1 -e 'CREATE USER IF NOT EXISTS '\''root'\''@'\''%'\'' identified by '\''devstack'\'';'
                  ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'IF NOT EXISTS 'root'@'%' identified by 'devstack'' at line 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant