Page 1 of 1

Installed MYSQL on this Ubuntu system but not able to setup

Posted: Thu Dec 13, 2018 7:02 am
by sumitm
Hi,

I installed mysql server using sudo install mysql-server but now I can't login. It looks some default password is set or something causing and issue.

What can be reason of it.

Thank

Re: Installed MYSQL on this Ubuntu system but not able to setup

Posted: Sat Jan 05, 2019 10:16 am
by sebt3
On debian based system, when installing mysql, your current root password is used to setup the mysql root password.
If you dont know it, you can change it using this procedure.
https://dev.mysql.com/doc/refman/8.0/en ... sions.html

instead of that kill command, you should probably just use 'systemctl stop mysql' though, since on systemd (or upstart) system, the init manager will automaticly restart mysql rendering this 'kill' command useless.