World Cup Database - Problems when giving execution permission to insert_data.sh

Tell us what’s happening:
Hello everyone!
I’m having a problem finishing the challenge.

Before giving the execution permission to the file, every task is ticked correctly (except those conflicting with this operation).


But, as soon as I give the permissions to insert_data.sh, CodeRoad doesn’t find the database or the tables.

Both scripts work as expected, but something it’s happening there. I leave the repo link with the files and the dump from the DB.

I would be grateful if someone could help me.

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36

Challenge: World Cup Database - Build a World Cup Database

Link to the challenge:

The solution was to put the INSERT queries into a variable.