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 2
2
# http://stackoverflow.com/questions/37719818/the-server-time-zone-value-aest-is-unrecognized-or-represents-more-than-one-ti
3
3
SET GLOBAL time_zone = ' +00:00' ;
4
4
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' ;
7
7
8
8
-- GitHub Actions/CI run the database server on the same system as the benchmarks.
9
9
-- Because we setup MySQL with the skip-name-resolve option, the IP address 127.0.0.1 might not be resolved to localhost
10
10
-- anymore. This does not seem to matter, as long as Unix sockets are being used (e.g. when setting up the docker image),
11
11
-- 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' ;
13
13
14
14
# modified from SO answer http://stackoverflow.com/questions/5125096/for-loop-in-mysql
15
15
CREATE DATABASE IF NOT EXISTS hello_world;
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ default-character-set=utf8
16
16
# * Basic Settings
17
17
#
18
18
default-storage-engine = innodb
19
- mysql_native_password = ON
19
+ # mysql_native_password = ON # disabled in v9
20
20
# default_authentication_plugin = mysql_native_password
21
21
22
22
user = mysql
Original file line number Diff line number Diff line change 1
- FROM mysql:8.4
1
+ FROM mysql:9.0
2
2
3
3
ENV MYSQL_ROOT_PASSWORD=root
4
4
ENV MYSQL_USER=benchmarkdbuser
You can’t perform that action at this time.
0 commit comments