Mysql root password is the same of root one?

Support for security such as Firewalls and securing linux
Post Reply
yeknafar
Posts: 13
Joined: 2018/07/12 21:13:09

Mysql root password is the same of root one?

Post by yeknafar » 2021/04/23 11:39:55

Hello

When we start a server root password and mysql root password are the same?

Why and when do we need to change mysql root password?

Thanks

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Mysql root password is the same of root one?

Post by TrevorH » 2021/04/23 11:54:21

No, they are entirely separate things and by default the root mysql password is not set at all on a fresh install.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

yeknafar
Posts: 13
Joined: 2018/07/12 21:13:09

Re: Mysql root password is the same of root one?

Post by yeknafar » 2021/04/23 12:41:51

How is it set at first?

Is it a security thing to change Mysql root password like root password sometimes?

Thank you for your help, I do not know about this subject.

lightman47
Posts: 1521
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: Mysql root password is the same of root one?

Post by lightman47 » 2021/04/23 12:58:43


User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Mysql root password is the same of root one?

Post by TrevorH » 2021/04/23 14:14:35

I'd suggest running mysql_secure_installation as one of the first things you do after installing it. It prompts you to change the root password and disable a bunch of other stuff.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply