Ver Fonte

Test CI

Laurent Destailleur há 2 anos atrás
pai
commit
573e54081f
1 ficheiros alterados com 3 adições e 1 exclusões
  1. 3 1
      .travis.yml

+ 3 - 1
.travis.yml

@@ -247,7 +247,9 @@ before_script:
       echo "MySQL grant"
       mysql -u root -ppassword -e 'GRANT ALL PRIVILEGES ON travis.* TO travis@127.0.0.1;'
       echo "MySQL grant and flush"
-      mysql -u root -e 'GRANT ALL PRIVILEGES ON *.* TO root@127.0.0.1; FLUSH PRIVILEGES;'
+      mysql -u root -ppassword -e 'GRANT ALL PRIVILEGES ON *.* TO root@127.0.0.1; FLUSH PRIVILEGES;'
+      sudo cat /etc/mysql/mysql.conf
+      sudo mysqladmin variables | grep default_authentication_plugin
       sudo sed -i -e 's/default-authentication-plugin=.*/default-authentication-plugin=mysql_native_password/g' /etc/mysql/mysql.conf.d/mysqld.conf
       sudo cat /etc/mysql/mysql.conf
       sudo /etc/init.d/mysql restart