Database update, pulling data not working

Hello, I am trying to use the database “update query” to update the database. However, I wrote nearly the same query as my testing database but it is not working for the actual DB.

^ this is the updating page for the testing database and it works perfectly, and below is the query for it

However, when I made the exact same one with my working database,

it is showing me this error, and I’ve checked it out that the same status 500 error occurs when I open the API on the web as well.

Could anyone help me out with this? Thanks!

Are you running different mysql versions on both servers?

Do you mean by the Database? Im using MySQL / MariaDB for both of it

Yes the databases are they different versions on local and remote?

I don’t think so

My bad, they are different databases. It is AWS RDS and one is staging the other is production; staging is the one that it works

So what database types are both and versions exactly?

Both at MySQL Community on AWS RDS, same versions and certificates.

So which versions are they - 5 … 8?

The engine version is
8.0.23

But are you 100% sure it is version 8 on BOTH servers, especially the local/testing one?

yes I’ve checked it through aws rds configuration

Make sure you have selected MySQL 8 as database type in the database connection settings per target and not just MySQL

I’ve selected MySQL 8 for database type but I still get this same error

Maybe check:

And also: