-1

After writing "sudo mysql" on terminal it is giving me this error: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

1 Answers1

-1

Try this:

mysql -u root
mysqladmin -u root password [newpassword]
Rania Alaoui
  • 3
  • 1
  • 8