mirror of
https://github.com/simon987/Much-Assembly-Required-Frontend.git
synced 2025-04-10 14:26:44 +00:00
Update database.sql
Added auto user - TODO: make this based on some root level config file?
This commit is contained in:
parent
07d8d01c92
commit
0e15797645
@ -1,7 +1,11 @@
|
||||
-- make sure it exists
|
||||
create database if not exists mar;
|
||||
|
||||
-- switch to use it
|
||||
-- create user (will be created if not exists) and grant privileges
|
||||
grant all privileges on `mar`.* to `mar`@`localhost` identified by 'mar';
|
||||
flush privileges;
|
||||
|
||||
-- switch to use the database
|
||||
use mar;
|
||||
|
||||
-- create tables
|
||||
|
Loading…
x
Reference in New Issue
Block a user