InsideDarkWeb.com

How to reset MySQL password

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

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

1 Answers

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!

Related Questions

Error building DRBD 9 from tarball on Oracle Linux 6

0  Asked on December 7, 2020 by christophorus-reyhan

   

multiple man arguments -> multiple files in less

0  Asked on December 6, 2020 by xdhmoore

   

Preserve SVG after PDF export from Word

0  Asked on December 6, 2020 by festus

         

Intel RST driver downgrade safely?

0  Asked on December 6, 2020 by legolas

   

Delay in starting command prompt

0  Asked on December 5, 2020 by batchcoding____s

         

Return to efi setup from grub commandline

1  Asked on December 5, 2020 by annoyinc

     

Solved-How to bulk rename IMG files in Windows

1  Asked on December 5, 2020 by empty_tables

     

Verify which key was used to connect to SSH

1  Asked on December 5, 2020 by ricky

 

Can’t install gcc with cygwin on Windows 10

1  Asked on December 4, 2020 by user69453

     

Potential DNS leak with openVPN on Linux

0  Asked on December 4, 2020 by nox

         

Ask a Question

Get help from others!

© 2021 InsideDarkWeb.com. All rights reserved.