On Fri, Feb 15, 2013 at 10:39 PM, Roldan Aquino <[email protected]> wrote: > This maybe an old topic but I also got into the same issue with CakePHP 2.xx > in MacOS X..The solution for me was > simple. I just changed the host value in database.php from localhost to > 127.0.0.1 and I am able to bake again.. :)
What I do is create 2 entries in the user table: GRANT ALL PRIVILEGES ON db_whatever.* TO username@localhost IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON db_whatever.* TO [email protected] IDENTIFIED BY 'password'; This way, I can force a TCP/IP connection (rather than a UNIX socket) if I need to. (Or some application does.) -- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
