Commit 571a9c30 authored by root's avatar root
Browse files

mysql host

parent 51aab3f2
Pipeline #34252 failed with stages
in 25 seconds
......@@ -24,11 +24,11 @@ mysql_build:
variables:
MYSQL_DATABASE: hello_world_test
MYSQL_ROOT_PASSWORD: mysql
#services:
#- mysql
#image: wangxian/alpine-mysql
services:
- mysql/mysql-server:5.5
image: mysql
before_script:
- apt-get update && apt-get --assume-yes install mysql-client
#- apt-get update && apt-get --assume-yes install mysql-client
- mysql --version
script:
- echo "SELECT 'OK';" | mysql --user=root --password="${MYSQL_ROOT_PASSWORD}" --host=localhost "${MYSQL_DATABASE}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment