Thanks for your solution...but still not working. I tried both above solution but not working.
I am using xampp on MAC OS.. ERROR : Can't connect to local MySQL server through Socket '/var/ mysql/mysql.sock ? I also set envornment variable using echo 'export PATH=Application/xampp/xamppfiles/htdocs/clalumni/cake/ console/cake:$PATH' >> ~/.bash_profile echo 'export PATH=Application/xampp/xamppfiles/lib/php:$PATH' >> ~/.bash_profile but still not able to run cake bake? Please help me to run cake bake on MAC OS. Thanks On Jan 19, 8:22 pm, leo <[email protected]> wrote: > I used to use MAMP. It used a non-standard port for the DB. Check > which port you're using and add it as shown in the database.php > comments: > > * host => > * the host you connect to the database. To add a socket or port > number, use 'port' => # > * --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
