Error: Connection to localhost failed error luego de hacer modificacion

Intento en crear una nueva base de datos y aparece este error Error: Connection to localhost failed.

Esto No paso solo. Subi un codigo de laravel y tenia un error de usuario de roor de localhost y corri lo siguiente:
This video shows how to fix SQLSTATE[HY000] [1698] Access denied for user ‘root’@‘localhost’’ error in the simplest way possible you can think of.

Step 1:

sudo mysql -u root -p

-then enter your sudo password if it’s asked.
-It will also ask for mysql password. For that one it’s blank so just press Enter.

Step 2:

USE mysql;

Step 3:

UPDATE user SET plugin=‘mysql_native_password’ WHERE User=‘root’;

ALTER USER ‘root’@‘localhost’ IDENTIFIED WITH mysql_native_password ;

SET PASSWORD FOR ‘root’@‘localhost’ = PASSWORD(‘’);
Step 4.
FLUSH PRIVILEGES;

Step 5.
exit;

Step 6.
$ service mysql restart

Despues de esto fue el error.

alguien puede ayudarme, no se si borre el password del usuario root que ahora no se puede conectar. Este usuario root tiene alguna clave defaoul.

Please post the question in English, I think they will help you, thank you!