Skip to content

Commit ca6e42c

Browse files
committed
Enable network access for sanity test of server version
1 parent 1013a70 commit ca6e42c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/testserver.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ SERVERSTART=0
55
SERVERCONNECT=0
66
SUCCESS=false
77
echo "Starting image with MySQL version $VERSION"
8-
docker run -e MYSQL_ROOT_PASSWORD=rot --name=testserver -p 3306:3306 -d mysql/mysql-server:$VERSION
8+
docker run -e MYSQL_ROOT_PASSWORD=rot -e MYSQL_ROOT_HOST="%" --name=testserver -p 3306:3306 -d mysql/mysql-server:$VERSION
99
RES=$?
1010
if [ ! $RES = 0 ]; then
1111
echo "Server start failed with error code $RES"

0 commit comments

Comments
 (0)