[kwlug-disc] Dumb MySQL question

Benjamin Tompkins bjtompkins at gmail.com
Fri Apr 3 14:50:56 EDT 2020


Maybe?

It would depend on if there's also a table that manages permissions for
users in the database to determine what they have access to.

What application?

On Fri, Apr 3, 2020 at 2:41 PM Charles M <chaslinux at gmail.com> wrote:

> 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
>
> _______________________________________________
> kwlug-disc mailing list
> kwlug-disc at kwlug.org
> https://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20200403/6e66f16f/attachment.htm>


More information about the kwlug-disc mailing list