File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 22# http://stackoverflow.com/questions/37719818/the-server-time-zone-value-aest-is-unrecognized-or-represents-more-than-one-ti
33SET GLOBAL time_zone = ' +00:00' ;
44
5- CREATE USER IF NOT EXISTS ' benchmarkdbuser' @' %' IDENTIFIED WITH mysql_native_password BY ' benchmarkdbpass' ;
6- CREATE USER IF NOT EXISTS ' benchmarkdbuser' @' localhost' IDENTIFIED WITH mysql_native_password BY ' benchmarkdbpass' ;
5+ CREATE USER IF NOT EXISTS ' benchmarkdbuser' @' %' IDENTIFIED WITH caching_sha2_password BY ' benchmarkdbpass' ;
6+ CREATE USER IF NOT EXISTS ' benchmarkdbuser' @' localhost' IDENTIFIED WITH caching_sha2_password BY ' benchmarkdbpass' ;
77
88-- GitHub Actions/CI run the database server on the same system as the benchmarks.
99-- Because we setup MySQL with the skip-name-resolve option, the IP address 127.0.0.1 might not be resolved to localhost
1010-- anymore. This does not seem to matter, as long as Unix sockets are being used (e.g. when setting up the docker image),
1111-- because the host is set to be localhost implicitly, but it matters for local TCP connections.
12- CREATE USER IF NOT EXISTS ' benchmarkdbuser' @' 127.0.0.1' IDENTIFIED WITH mysql_native_password BY ' benchmarkdbpass' ;
12+ CREATE USER IF NOT EXISTS ' benchmarkdbuser' @' 127.0.0.1' IDENTIFIED WITH caching_sha2_password BY ' benchmarkdbpass' ;
1313
1414# modified from SO answer http://stackoverflow.com/questions/5125096/for-loop-in-mysql
1515CREATE DATABASE IF NOT EXISTS hello_world;
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ default-character-set=utf8
1616# * Basic Settings
1717#
1818default-storage-engine = innodb
19- mysql_native_password = ON
19+ # mysql_native_password = ON # disabled in v9
2020# default_authentication_plugin = mysql_native_password
2121
2222user = mysql
Original file line number Diff line number Diff line change 1- FROM mysql:8.4
1+ FROM mysql:9.0
22
33ENV MYSQL_ROOT_PASSWORD=root
44ENV MYSQL_USER=benchmarkdbuser
You can’t perform that action at this time.
0 commit comments