All my post request are headed to the same table inMySQL database

Posted August 7, 2020 387 views
MySQLNode.jsUbuntu 18.04DigitalOcean Managed MySQL Database

I have a MySQL 8 managed database connected to my NodeJs app on Ubuntu 18.04.3, I have a condition that determines which table my post request would enter, but all the requests are headed to a single table in mysql 8 database. Everything works perfect on local

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.

Submit an Answer
1 answer

Hi there @Eebrugzy,

Would you mind sharing the condition that you are using to determine which table should be used?

Also are you running MySQL 8 on your local environment as well?