0

Hi I'm not sure if this asked already but it looks like the other related questions aren't the same. Here's what happened

I've got phpmyadmin installed with my homestead. I was trying to explore how privileges will affect access to database.

What I did. I removed global access for user homestead and now I have no more database on my phpmyadmin and if I try to create a database, I get this error:

#1044 - Access denied for user 'homestead'@'%' to database

How do I correct or revert back

Rodney Zanoria
  • 494
  • 1
  • 4
  • 19
  • http://stackoverflow.com/questions/1709078/how-can-i-restore-the-mysql-root-user-s-full-privileges << Check that out, it should help – Rick Calder May 16 '17 at 04:01

1 Answers1

1

You can try

 GRANT ALL ON *.* TO 'homestead'@'%' IDENTIFIED BY 'password';

and then refresh the privileges with

FLUSH PRIVILEGES;