I need a simple table with a user name and password field in MySQL. Since user names must be unique, it makes sense to me to make them the primary key.
Is it better
may as well just use a user ID index, it's much faster for joins vs char/varchar. the two seconds it takes to add that now could save you a lot of time later if you accidently have to expand the functionality of your schema.
some pitfalls to think about: