Skip to content

Commit

Permalink
Actions: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
methane committed Jan 3, 2021
1 parent 8810ea9 commit b637c37
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ jobs:
while :
do
sleep 1
mysql --protocol=tcp -e 'select version()' && break
mysql -h127.0.0.1 -uroot -e 'select version()' && break
done
mysql -h 127.0.0.1 -uroot -e "SET GLOBAL local_infile=on"
mysql -h 127.0.0.1 -uroot -e 'create database test1 DEFAULT CHARACTER SET utf8mb4'
mysql -h 127.0.0.1 -uroot -e 'create database test2 DEFAULT CHARACTER SET utf8mb4'
mysql -h 127.0.0.1 -uroot -e "create user test2 identified ${WITH_PLUGIN} by 'some password'; grant all on test2.* to test2;"
mysql -h 127.0.0.1 -uroot -e "create user test2@localhost identified ${WITH_PLUGIN} by 'some password'; grant all on test2.* to test2@localhost;"
mysql -h127.0.0.1 -uroot -e "SET GLOBAL local_infile=on"
mysql -h127.0.0.1 -uroot -e 'create database test1 DEFAULT CHARACTER SET utf8mb4'
mysql -h127.0.0.1 -uroot -e 'create database test2 DEFAULT CHARACTER SET utf8mb4'
mysql -h127.0.0.1 -uroot -e "create user test2 identified ${WITH_PLUGIN} by 'some password'; grant all on test2.* to test2;"
mysql -h127.0.0.1 -uroot -e "create user test2@localhost identified ${WITH_PLUGIN} by 'some password'; grant all on test2.* to test2@localhost;"
cp .travis/docker.json pymysql/tests/databases.json
- name: Run test
Expand Down

0 comments on commit b637c37

Please sign in to comment.