Skip to content

Commit

Permalink
Fix syntax for SQL query
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulhuq811 committed Feb 21, 2024
1 parent 92dba3f commit 42d68f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
# MySQL needs to be started manually (https://github.blog/changelog/2020-02-21-github-actions-breaking-change-ubuntu-virtual-environments-will-no-longer-start-the-mysql-service-automatically/)
run: |
sudo /etc/init.d/mysql start
mysql --host 127.0.0.1 --port 3306 -uroot -proot -e "GRANT ALL ON *.* TO 'root'@'localhost' IDENTIFIED BY 'root' WITH GRANT OPTION; FLUSH PRIVILEGES;"
mysql --host 127.0.0.1 --port 3306 -uroot -proot -e "CREATE USER 'root'@'localhost' IDENTIFIED BY 'root'; GRANT ALL ON *.* TO 'root'@'localhost'; FLUSH PRIVILEGES;"
- name: Install package
run: |
poetry config virtualenvs.create false && poetry install -E mysql
Expand Down

0 comments on commit 42d68f0

Please sign in to comment.