11 lines
297 B
MySQL
11 lines
297 B
MySQL
|
CREATE USER '<dbuser>'@'<dbclient>' IDENTIFIED BY '<dbpass>';
|
||
|
CREATE DATABASE <dbname>;
|
||
|
GRANT ALL PRIVILEGES ON <dbname>.* TO '<dbuser>'@'<dbclient>';
|
||
|
USE <dbname>;
|
||
|
CREATE TABLE users(
|
||
|
username VARCHAR(25),
|
||
|
password_hash BINARY(60),
|
||
|
stream_key CHAR(20),
|
||
|
record_flag TINYINT,
|
||
|
is_mod TINYINT
|
||
|
);
|