del delete line: skip-grant-tables
it will lead to access denied error.
Signed-off-by: Luan Shengde shdluan@163.com --- tests/mysql-8-0-20 | 1 - 1 file changed, 1 deletion(-)
diff --git a/tests/mysql-8-0-20 b/tests/mysql-8-0-20 index ebc7c0e90..0c60ed9dd 100755 --- a/tests/mysql-8-0-20 +++ b/tests/mysql-8-0-20 @@ -40,7 +40,6 @@ configure_mysql() sleep 10
"$mysql" -u "$mysql_user" -e "flush privileges; use mysql; alter user 'root'@'localhost' identified by '$mysql_password'; flush privileges;" - sed -i '/^skip-grant-tables/d' /etc/my.cnf "$mysql_server" restart sleep 10 }