Power & Source of Big Ideas

Installed MYSQL on this Ubuntu system but not able to setup

Moderators: chensy, FATechsupport


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.

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.

Who is online

In total there are 5 users online :: 0 registered, 0 hidden and 5 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 5 guests