Laravel root@localhost access is denied on server after a composer dependency installation

153 Views Asked by At

I installed prerender.io dependency through composer and things looked great locally.

Now uploading to hostmonster shared server was a disaster. my website post select statement request was denied for root@localhost. I believe this is what I used for previously for host monster according to my backups, here are things I tried to resolve the issue and it all failed:

1.I tried to create a user through host monster and enter its credentials although my backup had root@localhost and it did not work. 2.Composer dump-autoload -> didn't work 3. php artisan config:clear -> did not work 4. delete and reimport database -> did not work

I would appreciate assistance, I am having a live website and its down!

Note, you could test it through this link: http://www.myqourse.com/TRY

1

There are 1 best solutions below

0
On

Okay so i guess I figured it out: just made a user with a password and it got solved. Nevertheless, when i tried to grant access to select statement to a user it gave an errer first time so I guess hostmonster shares the blame :|