when migrating azure mysql to flex - lost the stored procedures code

Yael Bar Corley 0 Reputation points
2023-03-23T10:05:12.8066667+00:00

after migrating azure mysql database to flex, I am getting an error on mismatched collation when executing stored procedures.

when executing the queries stand alone & the update commands stand alone it works.

but from the stored procedures it does not.

when trying to see the ddl of the stored procedure, it is empty.

the only user that can see the code of the stored procedure is admin.

only after dropping the stored procedure & re-creating it from the user that connected to the db, it was possible to execute the stored procedure successfully.

can anybody explain what is the root cause?

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
713 questions
{count} votes