mysql_usercreate
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mysql_usercreate [2015/04/02 21:53] – luke7858 | mysql_usercreate [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| <sxh bash> | <sxh bash> | ||
| + | |||
| + | \\ | ||
| + | \\ | ||
| + | |||
| + | === Checking MySQL Password === | ||
| + | Sometimes you forget the password for a user. | ||
| + | This is annoying as hell. You have a list of old passwords but you are able to log in as root | ||
| + | You can use the following to confirm if the password is correct: | ||
| + | |||
| + | <sxh bash> | ||
| + | mysql> select if(password(' | ||
| + | +-----------------------------------------------------+ | ||
| + | | if(password(' | ||
| + | +-----------------------------------------------------+ | ||
| + | | YES | | ||
| + | +-----------------------------------------------------+ | ||
| + | 1 row in set (0.00 sec) | ||
| + | </ | ||
mysql_usercreate.1428011638.txt.gz · Last modified: 2024/05/23 07:26 (external edit)
