diff --git a/labs/lib/functions.guest b/labs/lib/functions.guest index cf6b7bd8..1e7c9019 100644 --- a/labs/lib/functions.guest +++ b/labs/lib/functions.guest @@ -174,6 +174,7 @@ function setup_database { local db_password=$(service_to_db_password $service) mysql_exe "CREATE DATABASE $service" mysql_exe "GRANT ALL ON ${service}.* TO '$db_user'@'%' IDENTIFIED BY '$db_password';" + mysql_exe "GRANT ALL ON ${service}.* TO '$db_user'@'localhost' IDENTIFIED BY '$db_password';" } # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -