Terminal:
sudo mkdir /var/mysql
Em sexta-feira, 21 de outubro de 2011 13h34min04s UTC-4, Nate escreveu:
-- sudo ln -s /Applications/MAMP/tmp/mysql/mysql.sock /var/mysql/mysql.sock
Em sexta-feira, 21 de outubro de 2011 13h34min04s UTC-4, Nate escreveu:
In manually setting everything up, I'm able to successfully add,
modify, view, and remove products with scaffolding enabled.
However, when I go into Bake, and I choose to create a [C]ontroller -
it then asks for my database (default). I confirm that setting and I
get this error:
Warning Error: PDO::__construct(): [2002] No such file or directory
(trying to connect via unix:///var/mysql/mysql.sock) in [/Users/nate/
Sites/tor.local/html/lib/Cake/Model/Datasource/Database/ Mysql.php,
line 160]
Any ideas? Thanks
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
No comments:
Post a Comment