TransWikia.com

How to reset MySQL password

Super User Asked by bill-lancaster on November 22, 2021

Have just installed Kubuntu 20.04 and installed mysqlserver and MySQL_secure_installation. I’ve somehow got the password wrong and can’t access mysql except as root, so

xx:~$ sudo mysql

gets me into mysql
Have looked at a number of posts but am not getting anywhere.

Any help would be welcome

One Answer

OK tried:- :~$ sudo mysql_secure_installation

And was able to change the password. Was using mysql_secure_installation as root before.

Thanks

Answered by bill-lancaster on November 22, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP