Skip to content

Commit

Permalink
Avoid deprecated log_bin_trust_function_creators flag. Fixes mysql-ne…
Browse files Browse the repository at this point in the history
  • Loading branch information
bgrainger committed Feb 4, 2024
1 parent b8dccf9 commit 88a5b6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .ci/docker-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ docker run -d \
-e MYSQL_ROOT_PASSWORD='test' \
--tmpfs /var/lib/mysql \
$IMAGE \
--log-bin-trust-function-creators=1 \
--disable-log-bin \
--local-infile=1 \
--secure-file-priv=/var/tmp \
--max-connections=250 \
Expand Down
2 changes: 1 addition & 1 deletion tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ It also verifies that MySqlConnector and MySQL Connector/NET (MySql.Data) have s

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

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
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
docker exec mysqlconnector mysql -uroot -ppass -e "INSTALL COMPONENT 'file://component_query_attributes';"

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

0 comments on commit 88a5b6e

Please sign in to comment.