I
I
iOS Dav2016-07-31 19:37:52
MySQL
iOS Dav, 2016-07-31 19:37:52

Whether it will be correct if to index columns login and password?

password - hash. mysql base. key `auth` (`login`,`password`) Another question: why is this not done in some CMS?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Eugene, 2016-07-31
@Nc_Soft

You only need to index the login, get it by login, check the password.

D
D', 2016-07-31
@Denormalization

What about the meaning? Or do you have users log in every 5 seconds?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question