Access denied in laravel

Posted in CategoryLaravel
  • K
    Kashiyani vimal 5 months ago

    when i run project at that time this error come so any one can help me .....

    SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO) (SQL: select `value`, `slug` from `settings`)

  • Y
    Youness 4 months ago

    Hi, you have to cheek your ".env" file and put in it the right informations :
    DB_CONNECTION=mysql
    DB_HOST=127.0.0.1
    DB_PORT=3306
    DB_DATABASE=your database name
    DB_USERNAME=your database username
    DB_PASSWORD=your database user password

Please login or register to leave a response.

* You May Also Like Bellow Issue to check *