• 0

Cant reset the password for mysql, missing mysql_safe.


Question

Hi guys. I fresh install mysql on centos7 but I cant login with root. I am trying now to reset the password but it seems that there is a missing file (mysqld_safe).

 

-- First --

[root@arkan-clearos-lan ~]# sudo systemctl stop mysqld

 

-- Then --
[root@arkan-clearos-lan ~]# sudo mysqld_safe --skip-grant-tables &
[1] 1041
[root@arkan-clearos-lan ~]# sudo: mysqld_safe: command not found

 

Link : https://www.linode.com/docs/databases/mysql/how-to-install-mysql-on-centos-7

 

Please advise me.

 

And Thank you.

3 answers to this question

Recommended Posts

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.