All my post request are headed to the same table inMySQL 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


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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?

Regards, Bobby