This is an old revision of the document!


Cent OS

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');
  • os/linux/centos.1547397891.txt.gz
  • Last modified: 2019/01/13 16:44
  • by gerardorourke