-1

I installed MySQl but I get the following logs:

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) xadmin. How do I fix this?

Philip Mutua
  • 5,157
  • 10
  • 30
  • 70

1 Answers1

1

Below will work:

sudo mysql -u root -p <hit enter>
<enter password>
Jignesh M. Khatri
  • 1,159
  • 1
  • 10
  • 20