Defined DB1 and DB2 to be global in create_database() function, program now checks for "Failed password for" instead of "Failed password for root"