Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 88a5b6e

Browse files
committedFeb 4, 2024
Avoid deprecated log_bin_trust_function_creators flag. Fixes #1346
1 parent b8dccf9 commit 88a5b6e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎.ci/docker-run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ docker run -d \
4343
-e MYSQL_ROOT_PASSWORD='test' \
4444
--tmpfs /var/lib/mysql \
4545
$IMAGE \
46-
--log-bin-trust-function-creators=1 \
46+
--disable-log-bin \
4747
--local-infile=1 \
4848
--secure-file-priv=/var/tmp \
4949
--max-connections=250 \

‎tests/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ It also verifies that MySqlConnector and MySQL Connector/NET (MySql.Data) have s
77

88
The tests require a MySQL server. The simplest way to run one is with [Docker](https://www.docker.com/community-edition):
99

10-
docker run -d --rm --name mysqlconnector -e MYSQL_ROOT_PASSWORD=pass -p 3306:3306 --tmpfs /var/lib/mysql mysql:8.3 --max-allowed-packet=96M --character-set-server=utf8mb4 --log-bin-trust-function-creators=1 --local-infile=1 --max-connections=250
10+
docker run -d --rm --name mysqlconnector -e MYSQL_ROOT_PASSWORD=pass -p 3306:3306 --tmpfs /var/lib/mysql mysql:8.3 --max-allowed-packet=96M --character-set-server=utf8mb4 --disable-log-bin --local-infile=1 --max-connections=250
1111
docker exec mysqlconnector mysql -uroot -ppass -e "INSTALL COMPONENT 'file://component_query_attributes';"
1212

1313
Copy the file `IntegrationTests/config.json.example` to `IntegrationTests/config.json`, then edit

0 commit comments

Comments
 (0)
Please sign in to comment.