I was wondering if someone could help out.
I have run through the environment setup for Laravel 4 and it doesnt seem to be working.
In my MAMP setup, i created protected.dev host
In my Bootstrap->start.php i have my local url like so
$env = $app->detectEnvironment(array(
'local' => array('protected.dev')
));
I have created a 'local' directory in the app->config directory, copied over the standard database.php file and then modified the database.php file inside the 'local' directory.
When i try and show the site, i get the
Access denied for user 'root'@'localhost'
which is in the standard config->database.php file.
It doesnt seem to be detecting its a local environment for some reason.
Any help would be greatly appreciated.
Cheers,