Shinobi/sql/user.sql

12 lines
413 B
MySQL
Raw Normal View History

2022-12-17 00:07:23 +00:00
-- Shinobi will create the database framework on start.
-- Be certain the database exists and Shinobi can access it.
-- Create Database
CREATE DATABASE IF NOT EXISTS `ccio`;
-- Create User for Database
2018-06-09 23:34:06 +00:00
CREATE USER 'majesticflame'@'127.0.0.1' IDENTIFIED BY '';
2022-12-17 00:07:23 +00:00
-- Grant Permissions to User for Database
2018-06-09 23:34:06 +00:00
GRANT ALL PRIVILEGES ON ccio.* TO 'majesticflame'@'127.0.0.1';
2022-12-17 00:07:23 +00:00
-- Refresh SQL Authorization
FLUSH PRIVILEGES;