From b01777fcd195f8821bb4657dbbfe2efde9f3e2a5 Mon Sep 17 00:00:00 2001 From: John Date: Sun, 3 Mar 2019 00:28:32 +0800 Subject: [PATCH] travis updates --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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