Hello All, I have cakePHP 1.1.18.5850 on a shared Unix server, with MySQL5, PHP5.2.4, and PHP running as CGI (PHP suexec), as opposed to it running under Apache.
I installed cake, created a database, configured it to connect to the database, and my cake 'home' page says it works properly: CakePHP Rapid Development Your database configuration file is present. Cake is able to connect to the database. I read the manual and did the blog tutorial: http://manual.cakephp.org/appendix/blog_tutorial All works okay there: I am able to view, add, edit and delete blog entries. Now I want to use ACLs: I read the directions here, http://manual.cakephp.org/chapter/acl, and other places on the net about how to use cake's acl.php at the command line. But unfortunately, I cannot get it to work. I receive this error: Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' I am puzzled that I can connect to the database via cake web displays, but not at the command line? Does anyone have any suggestions? Has anyone any experience with cakePHP and phpsuexec? I am wondering if it will work at all? Thank you for your help, Jill Elaine --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
