I'm using Laravel 5.2 and phpMyAdmin (which I'm running through InstantWordpress) and when I try to migrate the database I get this error message from the command line:
[PDOException]
SQLSTATE[HY000] [2002] no connection could be made because the target machine actively refused it
This is what my .env file looks like:
APP_ENV=local
APP_DEBUG=true
APP_KEY=base64:IBh/yuGAXTC2a2rRD7A9VE5io7AbPXLYfJUfLyFnRfA=
APP_URL=http://localhost
DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=micedb
DB_USERNAME=roo
DB_PASSWORD=roo
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync
Then, when I look at the app in the browser I have a landing page as though the initial migrate has worked but there's nothing in the database and when I try to register I get an error message and stack trace.