When i try access MySQL: mysql -u root -p -h 127.0.0.1 -P 3306, then i get error:ERROR 1698 (28000): Access denied for user 'root'@'localhost'
sudo mysql -u root # I had to use "sudo" since it was a new installation
mysql> USE mysql;
mysql> UPDATE user SET plugin='mysql_native_password' WHERE User='root';
mysql> FLUSH PRIVILEGES;
mysql> exit;
sudo service mysql restart
