Why do all my procedures run when I import mysqldump file?

85 Views Asked by At

I execute the following statement from the cmd terminal to import my MySQL Database:

mysql u- root p- database < "C:\Users\Tom\data.sql"

When I open my MySQL Database from the MySQL Workbench I've realised that more tables have been created that I don't recognise. Basically, what is happening is the stored procedures/routines I have created seem to be automatically running and thus creating many more tables? I don't want this, I'd rather execute routines as I wish using the "Call" statements in MySQL, is there a way stop this happening?

0

There are 0 best solutions below