You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
297 B
11 lines
297 B
5 years ago
|
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
|
||
|
);
|