8000 Increase max_allowed_packet. · mysql-net/MySqlConnector@e0c3759 · GitHub
[go: up one dir, main page]

Skip to content

Commit e0c3759

Browse files
committed
Increase max_allowed_packet.
This allows the InsertLargeBlob tests to run.
1 parent fac6507 commit e0c3759

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ before_install:
99
- sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893
1010
- sudo apt-get update
1111
- sudo apt-get install -y dotnet-dev-1.0.0-preview2-003121
12-
- docker exec -it mysql mysql -uroot -ptest -e "CREATE USER 'mysqltest'@'%' IDENTIFIED BY 'test;key=\"val'; GRANT ALL ON *.* TO mysqltest; CREATE USER 'no_password'@'172.17.0.1';"
12+
- docker exec -it mysql mysql -uroot -ptest -e "CREATE USER 'mysqltest'@'%' IDENTIFIED BY 'test;key=\"val'; GRANT ALL ON *.* TO mysqltest; CREATE USER 'no_password'@'172.17.0.1'; SET GLOBAL max_allowed_packet=104857600;"
1313

1414
script:
1515
- dotnet restore

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ build_script:
1212
dotnet build tests\SideBySide.New --configuration Release
1313
before_test:
1414
- cmd: |-
15-
"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql.exe" -u root --password=Password12! -e "CREATE USER mysqltest IDENTIFIED BY 'test;key=\"val'; GRANT ALL ON *.* TO mysqltest;"
16-
"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql.exe" -u root --password=Password12! -e "CREATE USER no_password;"
15+
"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql.exe" -u root --password=Password12! -e "CREATE USER mysqltest IDENTIFIED BY 'test;key=\"val'; GRANT ALL ON *.* TO mysqltest; CREATE USER no_password;"
16+
"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql.exe" -u root --password=Password12! -e "SET GLOBAL max_allowed_packet=104857600;"
1717
test_script:
1818
- cmd: |-
1919
dotnet test tests\MySqlConnector.Tests --configuration Release

0 commit comments

Comments
 (0)
0