DEV Community

Discussion on: Build a simple app using Node JS and MySQL.

Collapse
 
mj0lken profile image
mj0lken

I'm new to this and I get an awful error. Did it from scratch and cloned your repo but still got this in my terminal:

..../node-mysql-crud-app/node_modules/mysql/lib/protocol/Parser.js:80
throw err; // Rethrow non-MySQL errors

^

any clues!?

Collapse
 
shanegibney profile image
Shane Gibney • Edited

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.

Collapse
 
achowba profile image
Prince

Hello, could you please send a picture of your console with the error so I can know where the error is coming from