0

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

2
  • per this connection.execute is deprecated. Use the newer method. Commented Feb 9, 2024 at 22:21
  • Please provide enough code so others can better understand or reproduce the problem. Commented Feb 10, 2024 at 19:21

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.