Skip to content
This repository was archived by the owner on Aug 26, 2024. It is now read-only.

Commit 1e2022a

Browse files
committed
update mysql workflow cmd
1 parent 9e77752 commit 1e2022a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ jobs:
4646
4747
- name: Set up MySql
4848
run: |
49+
sudo mysqld_safe --skip-grant-tables
50+
sudo mysql -u root
51+
sudo mysql -e 'FLUSH PRIVILEGES;'
52+
sudo mysql -e 'ALTER USER 'root'@'localhost' IDENTIFIED BY 'newpassword';'
4953
sudo /etc/init.d/mysql start
50-
sudo mysql -u root --skip-password
51-
sudo mysql -e "ALTER USER 'root'@'localhost' IDENTIFIED BY '123456';""
52-
sudo mysql -u root -p 123456
53-
sudo mysql -e 'CREATE DATABASE python_blogs;''
5454
- name: Run Migrations
5555
run: |
5656
python manage.py migrate

0 commit comments

Comments
 (0)