DROP the ccng database if it already exists

Also did some small cleanup to mysql cli calls