For QR Code issue
Kindly check on the config.js in waserver. check the database port for (mysql port, 3306) - have shared my config.js file and am running on shared hosting on CPanel
The database details should be the same as the main server
var config = {
debug: false,
database: {
connectionLimit: 500,
host: "localhost",
port: 3306, --------- I change the port number, which i was using for main server
user: "database user",
password: "password",
database: "database name",
charset : "utf8mb4",
debug: false,
waitForConnections: true,
multipleStatements: true
},
cors: {
origin: '*',
optionsSuccessStatus: 200
}
}
module.exports = config;