Followed this Article
image: php:7.2-fpmpipelines:default: - step:script: - apt-get update && apt-get install -qy git curl libmcrypt-dev mysql-client - yes | pecl install mcrypt-1.0.1 - docker-php-ext-install pdo_mysql - curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer - composer install - ln -f -s .env.pipelines .env - php artisan migrate - php artisan serve & - sleep 5 - ./vendor/bin/phpunit - curl -vk http://localhost:8000services: - mysqldefinitions:services:mysql:image: mysql:5.7environment:MYSQL_DATABASE: 'homestead' MYSQL_RANDOM_ROOT_PASSWORD: 'yes' MYSQL_USER: 'homestead' MYSQL_PASSWORD: 'secret'
And getting this exception, any idea?
Package 'mysql-client' has no installation candidate
Hi Sebastian,
Try
- apt-get update && apt-get install -y git curl libmcrypt-dev default-mysql-client
It worked for me.
I was having a similar issue.. changing mysql-client to default-mysql-client helped solve it..
Thank you Dan.
Cheers.
Thank you! It works for 5.7
Sweet! That worked!
It looks like you're new here. Sign in or register to get started.