-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
  • 6,016
  • 12
  • 41
  • 84

1 Answers1

1

Below will work:

sudo mysql -u root -p <hit enter>
<enter password>
Jignesh M. Khatri
  • 1,407
  • 1
  • 14
  • 22