When a user is created (MySQL/MariaDB), the current command is generated:
CREATE USER 'test_user'@'localhost' IDENTIFIED BY '123123123';
GRANT ALL PRIVILEGES ON web\_default.* TO 'test_user'@'localhost';
The grant privileges command escapes the underscores and the privileges was not set correctly.
Thanks for your great work.