Professional Documents
Culture Documents
1. systemd is now used to look after mySQL instead of mysqld_safe (which is why you get the -
bash: mysqld_safe: command not found error - it's not installed)
2. The user table structure has changed.
So to reset the root password, you still start mySQL with --skip-grant-tables options and update
the user table, but how you do it has changed.
1. Stop mysql:
systemctl stop mysqld
4. Login as root
mysql -u root
6. Stop mysql
systemctl stop mysqld