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

Fix testing DB creation #429

Merged
merged 1 commit into from
Jun 9, 2022
Merged

Fix testing DB creation #429

merged 1 commit into from
Jun 9, 2022

Conversation

jessarcher
Copy link
Member

@jessarcher jessarcher commented Jun 9, 2022

This PR fixes a bug introduced in #424 that prevents the MySQL server from starting.

The backticks need to be escaped. Otherwise, the shell will try to execute the contents, resulting in the following error:

/docker-entrypoint-initdb.d/10-create-testing-database.sh: line 3: testing%: command not found
ERROR 1064 (42000) at line 2: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.* TO 'sail'@'%'' at line 1

@driesvints driesvints merged commit 0ea5d68 into 1.x Jun 9, 2022
@driesvints
Copy link
Member

Thanks @jessarcher

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants