Share Knowledge

Friday, 10 March 2017

How to change MySql Password

MySQL 5.7.6 and later:
ALTER USER 'root'@'localhost' IDENTIFIED BY 'MyNewPass';
MySQL 5.7.5 and earlier:
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('MyNewPass');
Posted by Share Knowledge at 01:21 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

About Me

Share Knowledge
View my complete profile

Blog Archive

  • ►  2020 (2)
    • ►  July (2)
  • ►  2018 (2)
    • ►  May (1)
    • ►  April (1)
  • ▼  2017 (6)
    • ►  September (2)
    • ►  July (3)
    • ▼  March (1)
      • How to change MySql Password
  • ►  2016 (7)
    • ►  August (6)
    • ►  July (1)
  • ►  2015 (4)
    • ►  September (1)
    • ►  August (1)
    • ►  May (2)
Ethereal theme. Powered by Blogger.