From 7016e964166ffe84d6a736ddd61092af1d431f39 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 24 Jun 2023 02:33:05 +0200 Subject: [PATCH] Test CI --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c93b190e338..86e9a1c5d4f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -225,7 +225,7 @@ before_script: echo "Setting up database" if [ "$DB" = 'mysql' ] || [ "$DB" = 'mariadb' ] || [ "$DB" = 'postgresql' ]; then # Ensure we stop on error with set -e - set -e + set +e echo "MySQL drop database" mysql -u root -e 'DROP DATABASE IF EXISTS travis;' echo "MySQL create database" @@ -248,7 +248,7 @@ before_script: mysql -u root -ppassword -e 'GRANT ALL PRIVILEGES ON travis.* TO travis@127.0.0.1;' echo "MySQL grant and flush" mysql -u root -ppassword -e 'GRANT ALL PRIVILEGES ON *.* TO root@127.0.0.1; FLUSH PRIVILEGES;' - sudo cat /etc/mysql/mysql.conf + sudo cat /etc/mysql/mysql.conf.d/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