CREATE DATABASE IF NOT EXISTS orphion CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

CREATE USER IF NOT EXISTS 'orphion'@'localhost' IDENTIFIED BY 'NexaVault2026!Blue';
CREATE USER IF NOT EXISTS 'orphion'@'172.16.11.139' IDENTIFIED BY 'NexaVault2026!Blue';
CREATE USER IF NOT EXISTS 'orphion'@'%' IDENTIFIED BY 'NexaVault2026!Blue';

ALTER USER 'orphion'@'localhost' IDENTIFIED BY 'NexaVault2026!Blue';
ALTER USER 'orphion'@'172.16.11.139' IDENTIFIED BY 'NexaVault2026!Blue';
ALTER USER 'orphion'@'%' IDENTIFIED BY 'NexaVault2026!Blue';

GRANT ALL PRIVILEGES ON orphion.* TO 'orphion'@'localhost';
GRANT ALL PRIVILEGES ON orphion.* TO 'orphion'@'172.16.11.139';
GRANT ALL PRIVILEGES ON orphion.* TO 'orphion'@'%';

FLUSH PRIVILEGES;
