Mysql add table in script not recognised

hi,

in a script I created a new table, but the new table is not recognised my mysql until I restart the application.
what’s missing ?
Tried ‘Flush tables’ but did not work.

db.Commit

that worked, thanks David