I'm getting an error mysql connection [2002] error
. I have configured the .env
file correctly. I'm using xampp
. I also have other laravel apps on the same localhost, they're working correctly but this one isn't.
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=satrap7
DB_USERNAME=root
DB_PASSWORD=