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.

mysql-community-server-5.7
CentOS Linux release 7.9.2009 (Core)

mysql installed via

wget https://dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpm
rpm -ivh mysql57-community-release-el7-9.noarch.rpm
yum install mysql-server -y

(and subsequent mysql_secure_installation etc)


as per this
https://dev.mysql.com/doc/refman/5.7/en/mysqld-safe.html

"https://dev.mysql.com/doc/refman/5.7/en/mysqld-safe.html";

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?

cheers

ian

Options: ReplyQuote


Subject
Written By
Posted
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.