Laravel 5 error SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES)

前端 未结 24 1684
Happy的楠姐
Happy的楠姐 2021-02-03 19:23

I have installed Laravel 5 successfully and changed MySQL credentials in database.php file in config directory to \'

mysql\' => [
            \'driver\'           


        
24条回答
  •  心在旅途
    2021-02-03 19:45

    If you are on MAMP

    Check your port number as well generally it is

    Host localhost

    Port 8889

    User root

    Password root

    Socket /Applications/MAMP/tmp/mysql/mysql.sock

提交回复
热议问题