MySQL Forums
Forum List  »  Newbie

community mysqld 5.7 - mysqld_safe alternative
Posted by: ian diddams
Date: July 06, 2021 01:09AM

Not sure where thuis post is best located so feel free to move please admins.

CentOS Linux release 7.9.2009 (Core)

mysql installed via

rpm -ivh mysql57-community-release-el7-9.noarch.rpm
yum install mysql-server -y

(and subsequent mysql_secure_installation etc)

as per this


Fair enough.

That is all well and good but historically if one was daft enopugh to lose the root mysqld account password, one could start mysqld with

mysqld_safe --skip-grant-tables &
the login with mysql -u root and so on.

With no mysqld_safe available now, what is the equivalent?



Options: ReplyQuote

Written By
community mysqld 5.7 - mysqld_safe alternative
July 06, 2021 01:09AM

Sorry, only registered users may post in this forum.

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.