Clean up create_db_and_user_mysql and validate the maximum length of name.