I am using Laravel, and I have already configured .env file. When I make migration and I migrate, it affects the database, but when I try to read from same database I get th
You have to set the right permissions:
$ mysql -u root -p $ $ use mysql $ GRANT ALL ON *.* to 'homestead'@'localhost' IDENTIFIED BY ''; $ FLUSH PRIVILEGES;