MySQL Forums
Forum List  »  Newbie

Cant login or reset the password. Mysql_safe is missing.
Posted by: ahmed al abboudi
Date: October 24, 2016 02:39AM

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

Also, I tried to use mysql_secure_installation But I cant use it since it is asking for the root password.


Please advise me.

And Thank you.

Options: ReplyQuote


Subject
Written By
Posted
Cant login or reset the password. Mysql_safe is missing.
October 24, 2016 02:39AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.