It seems you are using MySql, so I would recommend asking your question in a MySql forum. SQLTeam.com is for Microsoft SQL Server. Your question may seem basic enough, but how we do things between the two products is different.
If you were using Microsoft SQL Server, I would advise running the script in SQL Server Management Studio or sqlcmd.exe. MySql doesn't have those.