Sindbad~EG File Manager

Current Path : /home/copmadinaarea/.trash/database/
Upload File :
Current File : /home/copmadinaarea/.trash/database/production_setup.sql

-- COP News Portal Production Database Setup
-- Church of Pentecost News Management System
-- Production Environment Configuration

-- Create database user (run as MySQL root user)
CREATE USER IF NOT EXISTS 'copmadinaarea_nabibo'@'localhost' IDENTIFIED BY 'copmadinaarea_nabibo';

-- Grant privileges to the user
GRANT ALL PRIVILEGES ON copmadinaarea_cop_news_portal.* TO 'copmadinaarea_nabibo'@'localhost';
FLUSH PRIVILEGES;

-- Create the database
CREATE DATABASE IF NOT EXISTS copmadinaarea_cop_news_portal CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

-- Use the database
USE copmadinaarea_cop_news_portal;

-- Note: After creating the database and user, run the main schema.sql file to create tables and insert data
-- Command: mysql -u copmadinaarea_nabibo -p copmadinaarea_cop_news_portal < schema.sql

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists