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

Improve font rendering for IntelliJ IDEA / Pycharm in Ubuntu

Fix - Updated from OSX El Capitan Gold Master to Final Release, andbeta update keeps showing in AppStore