Report this

What is the reason for this report?

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

Posted on August 7, 2020

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



This textbox defaults to using Markdown to format your 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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.