I have a backend pod that I generate via a CI build and use it to also init my mariadb via SQLalchemy/Flask. I had some stored procedure on my common non-docker architecture before that I also need to implement in my new db automatically.
I have them stored in a bunch of .sql files and tried to iterate over them and executing each of those via the connection.execute() and it gave me :
This error occurred:
Not an executable object
Even tho those procedures are fine to work with when it's manually stored in the maria-db.
Any advice is welcome
connection.executeis deprecated. Use the newer method.