Commit f95f1419 authored by Hugo Hörnquist's avatar Hugo Hörnquist Committed by Andreas Kempe
Browse files

File for setting up mysql database and user

Created setup file. Can't however run it yet due to our mysql server
being kinda broken.
parent f1052759
-- This file is for doing the initial setup of the database
-- It's supposed to be run on mysql.lysator.liu.se
--
-- Replace "'password'" with an actuall password before running.
--
-- DO NOT RUN THIS UNLESS YOU KNOW WHAT YOU ARE DOING
CREATE DATABASE lysns;
CREATE USER 'lysns'@'localhost'
IDENTIFIED BY 'password';
CREATE USER 'lysns'@'%.lysator.liu.se'
IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON lysns.* TO 'lysns'@'localhost'
WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON lysns.* TO 'lysns'@'%.lysator.liu.se'
WITH GRANT OPTION;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment