Installed Percona Server / Mysql 5.7 and cannot start without root password.

To fix this:


  1. Make sure your data dir is empty. 
  2. mysqld --initialize-insecure  --datadir=/path-to-datadir --user=youruser
  3. Done. Now you have root user with no password

Comments

Popular posts from this blog

Compare integer variable in django templates

Top things to do after installing Manjaro KDE

PIP - upgrade all packages from requirements.txt (interactively)