Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vjik committed Mar 20, 2024
1 parent 4737146 commit 8d1a9e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ jobs:
- name: Setup source database
run: |
sh tests/data/actions/libmysqlclient20.sh
sudo echo -e '[client]\ndefault-character-set=utf8\n[mysql]\ndefault-character-set=utf8\n[mysqld]\ndefault_authentication_plugin=mysql_native_password\ncollation-server=utf8_unicode_ci\ncharacter-set-server=utf8' > "/etc/mysql/.my.cnf"
sudo systemctl start mysql.service
mysql -uroot -proot -e 'ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';FLUSH PRIVILEGES;'
mysql -uroot -proot -e 'CREATE DATABASE `yiitest`;'
mysql --default-character-set=utf8 -D yiitest -uroot -proot < tests/data/source.sql
Expand Down

0 comments on commit 8d1a9e8

Please sign in to comment.