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


Popular posts from this blog

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

Improve font rendering for IntelliJ IDEA / Pycharm in Ubuntu