Laravel PDOException SQLSTATE[HY000] [1049] Unknown database 'forge'
You have to clear the cache like that (because your old configuration is in you cache file) :
php artisan cache:clear
The pdo error comes from the fact Laravel use the pdo driver to connect to mysql
- First you have to Create your related Database.
- Then:
php artisan cache:clear
- Now run
php artisan migrate:install
Hope your problem will get resolved.
Sounds like you have an environment-specific config file somewhere that overrides the default database settings. Possibly app/config/local/database.php.