Drop anonymous user before performing mysql commands. Do everything in one code block, rather than seperate statements - provides nicer error messages, and doesn't require repeated login/logoug to mysql