java-tutorials/persistence-modules/spring-boot-mysql/mysql-server/createuser_query.sql

2 lines
124 B
SQL

CREATE USER 'test_user'@'%' IDENTIFIED BY 'Password2022' require X509;
GRANT ALL PRIVILEGES ON test_db.* TO 'test_user'@'%';