From 44b530f084365be504d6fdd44f6a29a864442f95 Mon Sep 17 00:00:00 2001 From: Javier Goizueta Date: Mon, 17 Feb 2020 13:53:38 +0100 Subject: [PATCH] Change MySQL root authentication --- test/fixtures/load_all_fixtures.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/fixtures/load_all_fixtures.sh b/test/fixtures/load_all_fixtures.sh index c5c4ee3..9d31fdb 100644 --- a/test/fixtures/load_all_fixtures.sh +++ b/test/fixtures/load_all_fixtures.sh @@ -23,6 +23,7 @@ load_postgres_fixtures() load_mysql_fixtures() { load_config "mysql.config" + sudo mysql -u root -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '$password';" echo "create database if not exists fdw_tests" | mysql -u $user mysql -u $user -D $dbname < "$BASEDIR/mysql_fixtures.sql" }