Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 571a9c30 authored by root's avatar root
Browse files

mysql host

parent 51aab3f2
No related branches found
No related tags found
No related merge requests found
Pipeline #34252 failed
......@@ -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}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment