Try to restart mysql

This commit is contained in:
Dennis Eichhorn 2018-08-04 16:16:10 +02:00
parent 5a71144588
commit 75c3ca9ffc

View File

@ -1,11 +1,19 @@
language: php
sudo: true
dist: trusty
php:
- '7.2'
- nightly
services:
- mysql
addons:
apt:
sources:
- mysql-5.7-trusty
packages:
- mysql-server
- mysql-client
before_script:
- echo "USE mysql;\nUPDATE user SET password=PASSWORD('password') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root
- sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('new_password') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
- sudo mysql_upgrade
- sudo service mysql restart
- pecl install ast
- composer install