batch-shipyard/slurm/slurmdb.sql

7 строки
261 B
SQL

create database slurm_acct_db;
create user 'slurm'@'localhost';
set password for 'slurm'@'localhost' = password('{SLURM_DB_PASSWORD}');
grant usage on *.* to 'slurm'@'localhost';
grant all privileges on slurm_acct_db.* to 'slurm'@'localhost';
flush privileges;