Skip to content

Commit 329865c

Browse files
committed
Fix for change in MySQL default auth plugin.
1 parent a2c8ff0 commit 329865c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ mDB_DIR=$(shell pwd)/_db-$(mV)
55

66
start_db:
77
@echo Starting MySQL $(V)
8-
docker run --rm -d --name spatial-mysql \
8+
docker run --rm --name spatial-mysql \
99
-p 3306:3306 \
1010
-v $(DB_DIR):/var/lib/mysql \
1111
-e MYSQL_DATABASE=spatial_test \
1212
-e MYSQL_ALLOW_EMPTY_PASSWORD=yes \
13-
mysql:$(V) --character-set-server=utf8 --collation-server=utf8_general_ci --default-auth=mysql_native_password
13+
mysql:$(V) --character-set-server=utf8 --collation-server=utf8_general_ci --default-authentication-plugin=mysql_native_password
1414

1515
start_db_maria:
1616
@echo Starting MariaDB $(mV)
@@ -19,7 +19,7 @@ start_db_maria:
1919
-v $(DB_DIR):/var/lib/mysql \
2020
-e MYSQL_DATABASE=spatial_test \
2121
-e MYSQL_ALLOW_EMPTY_PASSWORD=yes \
22-
mariadb:$(mV) --character-set-server=utf8 --collation-server=utf8_general_ci --default-auth=mysql_native_password
22+
mariadb:$(mV) --character-set-server=utf8 --collation-server=utf8_general_ci --default-authentication-plugin=mysql_native_password
2323

2424

2525
rm_db:

0 commit comments

Comments
 (0)