throw err; // Rethrow non-MySQL errors
mj0lken this error suggests that your database credentials in app.js are not correct. Check them. I realise you asked this question many months ago and have probably fixed it by now.
Hello, could you please send a picture of your console with the error so I can know where the error is coming from
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.