File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ before_install:
21
21
- |-
22
22
if [[ "$DB" == "MySQL" ]]
23
23
then
24
- echo -e '[server]\nlower_case_table_names=1' | sudo tee -a /etc/mysql/my.cnf
24
+ echo -e '[server]\nlower_case_table_names=1\n[mysqld]\ncharacter-set-server=utf8\ncollation-server=utf8_general_ci ' | sudo tee -a /etc/mysql/my.cnf
25
25
sudo service mysql restart
26
26
fi
27
27
- |-
@@ -43,6 +43,6 @@ before_install:
43
43
before_script :
44
44
- if [[ "$DB" == "SqlServer2008" ]]; then docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=P@ssw0rd" -e "MSSQL_PID=Express" -p 1433:1433 -d --name sqlexpress microsoft/mssql-server-linux:latest; fi
45
45
- if [[ "$DB" == "PostgreSQL" ]]; then psql -c "CREATE DATABASE nhibernate;" -U postgres; fi
46
- - if [[ "$DB" == "MySQL" ]]; then mysql -e "CREATE DATABASE IF NOT EXISTS nhibernate CHARACTER SET utf8 COLLATE utf8_general_ci ;"; fi
46
+ - if [[ "$DB" == "MySQL" ]]; then mysql -e "CREATE DATABASE IF NOT EXISTS nhibernate;"; fi
47
47
script :
48
48
- pwsh -noprofile -command "& ./build.ps1 -TaskList Set-Configuration,Test -properties @{\"Database\" = \"$DB\";\"ConnectionString\"=\"$CONNECTION_STRING\"}"
You can’t perform that action at this time.
0 commit comments