Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 0dce4b64 authored by root's avatar root
Browse files

mysql-client through apt-get

parent c2945913
No related branches found
No related tags found
No related merge requests found
Pipeline #34213 failed
...@@ -19,15 +19,17 @@ pages: ...@@ -19,15 +19,17 @@ pages:
- public - public
#only: #only:
#- master #- master
mysql_build: mysql_build:
variables: variables:
MYSQL_DATABASE: hello_world_test MYSQL_DATABASE: hello_world_test
MYSQL_ROOT_PASSWORD: mysql MYSQL_ROOT_PASSWORD: mysql
services: #services:
- mysql #- mysql
image: wangxian/alpine-mysql #image: wangxian/alpine-mysql
before_script: before_script:
- mysql --version - mysql --version
- apt-get update && apt-get --assume-yes install mysql-client
script: script:
- echo "SELECT 'OK';" | mysql --user=root --password="${MYSQL_ROOT_PASSWORD}" --host=mysql "${MYSQL_DATABASE}" - echo "SELECT 'OK';" | mysql --user=root --password="${MYSQL_ROOT_PASSWORD}" --host=mysql "${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