Double check that all command lines are ending with a semi-colon in the script. Double check your paths, and be sure you are entering the correct variable information. Like your database name should be prefaced with your cpanelname_ as well as your database user name.