I try to access MySQL but I can't. I wrote skip-grant-tables in the mysql configuration and restart it but it still doesn't work.
$ mysql -u root -p
ENTER PASSWORD: *****
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
I also try to connect phpmyadmin but I can't
Cannot log in to the MySQL server
and
mysqli_real_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES)