Skip to content

Commit

Permalink
chbench: use native password authentication for mysql
Browse files Browse the repository at this point in the history
For compatibility with the PyMySQL driver on some platforms.
  • Loading branch information
benesch committed Dec 6, 2021
1 parent 82203dd commit f87d775
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions demo/chbench/mysql/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ FROM mysql/mysql-server:8.0.27

COPY mysql.cnf /etc/mysql/conf.d/
COPY replication.sql /docker-entrypoint-initdb.d/

# The caching_sha2_password plugin requires the Python `cryptography` package
# on the client, which is a somewhat onerous dependency.
CMD ["mysqld", "--default-authentication-plugin=mysql_native_password"]

0 comments on commit f87d775

Please sign in to comment.