Pouya Abbassi
Pouya Abbassi

Reputation: 422

reset mysql root password faild. mysql_safe not found

I'm using Archlinux with Mariadb sql server.
I tried to reset root password of mysql using this method which had no problem before.
But now, when I type mysqld_safe --init-file=/home/me/mysql-init & in terminal, It says:

bash: mysql_safe: command not found

What can I do? To fix this? Is there any alternative way to do it?


ps:
I installed percona-server instead of mariadb and I had password problem, After switching to mariadb again, problem was still there waiting for me.

Upvotes: 0

Views: 479

Answers (1)

Nirbhay Choubey
Nirbhay Choubey

Reputation: 126

There is no mysql_safe script. Try mysqld_safe instead.

Upvotes: 1

Related Questions