Access denied for user 'root'@'localhost' - Laravel

后端 未结 4 714
天命终不由人
天命终不由人 2021-01-05 00:21

I have an application with Laravel 4, that runs in localhost correctly, but when I uploaded it in my host I received the error .

app>config>database.php file is:

4条回答
  •  -上瘾入骨i
    2021-01-05 00:35

    Check your mysql database is running perfectly or not. Then check you db user root in mysql with no password and restart your server.

提交回复
热议问题