bootstrap-rocky-8/create-semaphore-db.sql

24 lines
1.2 KiB
MySQL
Raw Normal View History

2024-09-01 03:13:03 +03:00
CREATE DATABASE semaphore;
CREATE USER 'semaphore'@'localhost' IDENTIFIED BY 'semaphore';
GRANT Usage ON *.* TO 'semaphore'@'localhost';
GRANT Alter ON semaphore.* TO 'semaphore'@'localhost';
GRANT Create ON semaphore.* TO 'semaphore'@'localhost';
GRANT Create view ON semaphore.* TO 'semaphore'@'localhost';
GRANT Delete ON semaphore.* TO 'semaphore'@'localhost';
GRANT Delete history ON semaphore.* TO 'semaphore'@'localhost';
GRANT Drop ON semaphore.* TO 'semaphore'@'localhost';
GRANT Index ON semaphore.* TO 'semaphore'@'localhost';
GRANT Insert ON semaphore.* TO 'semaphore'@'localhost';
GRANT References ON semaphore.* TO 'semaphore'@'localhost';
GRANT Select ON semaphore.* TO 'semaphore'@'localhost';
GRANT Show view ON semaphore.* TO 'semaphore'@'localhost';
GRANT Trigger ON semaphore.* TO 'semaphore'@'localhost';
GRANT Update ON semaphore.* TO 'semaphore'@'localhost';
GRANT Alter routine ON semaphore.* TO 'semaphore'@'localhost';
GRANT Create routine ON semaphore.* TO 'semaphore'@'localhost';
GRANT Create temporary tables ON semaphore.* TO 'semaphore'@'localhost';
GRANT Execute ON semaphore.* TO 'semaphore'@'localhost';
GRANT Lock tables ON semaphore.* TO 'semaphore'@'localhost';
GRANT Show Create Routine ON semaphore.* TO 'semaphore'@'localhost';