title: How to change the MySQL root account password on CentOS7?
body: <p>I have installed mySQL on a Centos7 vm but I have problems logging in with root. I tried logging in without password or tried any default ones (like mysql, admin etc) I looked in the my.cnf file and there's no password. I tried changing the password by stopping the service and restarting it with <code>mysqld_safe --skip-grant-tables &amp;</code> but I get that <code>mysqld_safe:command not found</code>
  I have no idea what else to do. Any tips/ideas would be greatly appreciated! </p>