In order to solve this problem just go to your laravel directory then open .env file, change it as shown below :
Then make sure that your database configuration has the same value with above .env file. So go to "config" open database.php then change it as follow :
Wednesday, August 19, 2015
[PDOException] SQLSTATE[HY000][2002] No connection could be made because the target machine actively refused it.
I just got that error while typing php artisan migrate as shown below :
Theen... I just remembered that I forgot to run my MySQL server heheheh... :D :D :D.... So just run it first then it should be good to go now... :-)
Theen... I just remembered that I forgot to run my MySQL server heheheh... :D :D :D.... So just run it first then it should be good to go now... :-)
Subscribe to:
Posts (Atom)