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

2 lines
124 B
MySQL
Raw Normal View History

2022-09-20 12:20:05 -04:00
CREATE USER 'test_user'@'%' IDENTIFIED BY 'Password2022' require X509;
GRANT ALL PRIVILEGES ON test_db.* TO 'test_user'@'%';