diff --git a/configure-script.js b/configure-script.js index c246c83..c5fd0ed 100644 --- a/configure-script.js +++ b/configure-script.js @@ -33,7 +33,7 @@ const question = (prompt, def = null) => { const appPort = await question('App Port', '3300'); const appDBUser = await question('DB User', appName); - const appDBPass = await question('DB Pass', uuid()); + const appDBPass = await question('DB Pass', 'blastoise'); const dbRootPass = await question('DB Root Pass'); const appSecretAccess = await question('Access Token Secret', uuid(32)); diff --git a/tools/debug-startup.sql b/tools/debug-startup.sql new file mode 100644 index 0000000..933b986 --- /dev/null +++ b/tools/debug-startup.sql @@ -0,0 +1,4 @@ +#use this while debugging +CREATE DATABASE IF NOT EXISTS chat; +CREATE USER IF NOT EXISTS 'chat'@'%' IDENTIFIED BY 'blastoise'; +GRANT ALL PRIVILEGES ON chat.* TO 'chat'@'%';