zapomniałem MySQL root hasło StackoverFlow
sudo service mysql stop
Foolish Fowl
sudo service mysql stop
sudo service mysql start
sudo chown mysql: /var/run/mysqld
mysql -uroot mysql
sudo mysqladmin -S /var/run/mysqld/mysqld.sock shutdown
sudo mkdir /var/run/mysqld
sudo mysqld_safe --skip-grant-tables --skip-networking &
UPDATE mysql.user SET authentication_string=PASSWORD('YOURNEWPASSWORD'), plugin='mysql_native_password' WHERE User='root' AND Host='localhost';
EXIT;