sudo /etc/init.d/mysql stop

sudo mysqld --skip-grant-tables &

mysql -u root mysql

UPDATE user SET Password=PASSWORD('TWOJENOWEHASLO') WHERE User='root'; FLUSH PRIVILEGES; exit;

sudo /etc/init.d/mysql start

Categorized in:

Tagged in:

, ,