Lost root Password. How To Reset The root Password On Linux?
(Doc ID 1023077.1)
Last updated on FEBRUARY 27, 2020
Applies to:MySQL Server - Version 4.0 and later
If you set a root password previously, but have forgotten what it was, you can set a new password. The following procedure is for Linux servers.
An error you may see when trying to connect is:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!