• Wincent
    Open
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search

Updating a MySQL password to use new hashingEdit

Created 7/23/2013, updated 3/12/2020

SET SESSION old_passwords=0; SET PASSWORD FOR 'foo'@'bar' = password('blah'); FLUSH PRIVILEGES;

See also

  • http://dev.mysql.com/doc/refman/5.0/en/password-hashing.html
  • http://code.openark.org/blog/mysql/upgrading-passwords-from-old_passwords-to-new-passwords
  • mysql
  • wiki
Site
  • About
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search
External
  • GitHub
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
Colophon

Made by Greg Hurrell using React, Relay and GraphQL (with help from Git, Redis and Neovim).