Posts

Showing posts with the label php artisan migrate error

SOLVED php artisan migrate error SQLSTATE[HY000] [2002]

I'm tired but lucky. Let me say that I new in Laravel. When I saw that PHPMyAdmin uses Unix socket on Debian, so search your mysql.sock and put the explicit path in .env and config/database.php files. Hope php artisan migrate works!. This tip made my day.