File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ mDB_DIR=$(shell pwd)/_db-$(mV)
5
5
6
6
start_db :
7
7
@echo Starting MySQL $(V )
8
- docker run --rm -d - -name spatial-mysql \
8
+ docker run --rm --name spatial-mysql \
9
9
-p 3306 :3306 \
10
10
-v $(DB_DIR ) :/var/lib/mysql \
11
11
-e MYSQL_DATABASE=spatial_test \
12
12
-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
14
14
15
15
start_db_maria :
16
16
@echo Starting MariaDB $(mV )
@@ -19,7 +19,7 @@ start_db_maria:
19
19
-v $(DB_DIR ) :/var/lib/mysql \
20
20
-e MYSQL_DATABASE=spatial_test \
21
21
-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
23
23
24
24
25
25
rm_db :
You can’t perform that action at this time.
0 commit comments