diff --git a/.travis.yml b/.travis.yml index d1c566aa1..a656db184 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,9 +16,8 @@ services: - mysql before_install: - - sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('12345678') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;" - - sudo mysql_upgrade -u root -p12345678 - - sudo service mysql restart + - mysql -e "use mysql; update user set authentication_string=PASSWORD('12345678') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;" + - service mysql restart install: - pwd