[kwlug-disc] Dumb MySQL question

Charles M chaslinux at gmail.com
Fri Apr 3 14:40:39 EDT 2020


I have a PHP application that has some users stored in a mysql
database. I can log into mysql and have permission to change the
database tables. If the table within the database is called users can
I just:

INSERT into user (userpass) values ('NewMadeUpPass');

Would this work since MySQL hashes passwords? I'd then log into the
web app and change the password, hopefully rehashing the new password.

Thanks,

Charles




More information about the kwlug-disc mailing list