I tried to understand this post https://www.digitalocean.com/community/questions/urgent-need-please-help-me-out-with-the-issue-i-am-getting-the-below-error-when-trying-to-connect-my-node-js-with-database , but as the suggestion is for mysql I hit a wall. I have the same error, maybe some Variables are wrong or I just don’t get what needs to be done or where to start. I also made a simple route that says hello world an that is working.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!