diff --git a/.travis.yml b/.travis.yml index 5553a2dd8..103fbeb6c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ php: services: - mysql before_script: - - mysql -e "use mysql; update user set authentication_string=PASSWORD('123456') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;" + - echo "USE mysql;\nUPDATE user SET password=PASSWORD('password') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root" - pecl install ast - composer install script: