From dcbd9469df65f5d85fc80661b21eeba4b37021f2 Mon Sep 17 00:00:00 2001 From: The9thLime <87019366+The9thLime@users.noreply.github.com> Date: Sat, 19 Oct 2024 14:27:52 +0530 Subject: [PATCH] Test to check for grants --- values_mysql.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/values_mysql.yml b/values_mysql.yml index cf6043e..dfa1bca 100644 --- a/values_mysql.yml +++ b/values_mysql.yml @@ -173,6 +173,7 @@ initdbScripts: init.sql: | CREATE DATABASE IF NOT EXISTS realworld; CREATE USER IF NOT EXISTS 'realworld'@'%' IDENTIFIED BY '123'; + GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123' WITH GRANT OPTION; GRANT ALL PRIVILEGES ON realworld.* TO 'realworld'@'%'; FLUSH PRIVILEGES;