Queries are working

This commit is contained in:
2021-01-30 05:50:04 +11:00
parent 488c32eea2
commit 689a3371f1
12 changed files with 3824 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
#This file only needs to be run once, during initial setup
#Create the actual database
CREATE DATABASE IF NOT EXISTS news;
USE news;
#Create the database user
CREATE USER IF NOT EXISTS 'news'@'%' IDENTIFIED BY 'charizard';
GRANT ALL PRIVILEGES ON news.* TO 'news'@'%';