I tried to set up ACL but I got the following error message (I'm on
OSX with MAMP and PHP5):


Michas-Mac:~/Sites/project/cake/scripts micha$ php acl.php initdb

Warning: mysql_connect(): Can't connect to local MySQL server through
socket '/var/mysql/mysql.sock' (2) in /Users/Micha/Sites/project/cake/
libs/model/datasources/dbo/dbo_mysql.php on line 101

Warning: mysql_select_db(): supplied argument is not a valid MySQL-
Link resource in /Users/Micha/Sites/project/cake/libs/model/
datasources/dbo/dbo_mysql.php on line 106
Initializing Database...

Creating access control objects table (acos)...


Warning: mysql_query(): supplied argument is not a valid MySQL-Link
resource in /Users/Micha/Sites/project/cake/libs/model/datasources/dbo/
dbo_mysql.php on line 134

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link
resource in /Users/Micha/Sites/project/cake/libs/model/datasources/dbo/
dbo_mysql.php on line 286

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link
resource in /Users/Micha/Sites/project/cake/libs/model/datasources/dbo/
dbo_mysql.php on line 286
Error:

On 5 Okt., 18:39, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On 10/5/07, michaaaa <[EMAIL PROTECTED]> wrote:
>
>
>
> > Thanks for your opinion. I read the blog post you mentioned and found
> > a very useful.
>
> > One thing I like about othAuth is that you can access the authed
> > user's data in any controller or view with $this->othAuth->user(). Is
> > there a similar function in the Auth component?
>
> $this->Auth->user(...)
>
> --
> Chris Hartjes
> Cake Development Corporationhttp://www.cakedevelopment.com
>
> My motto for 2007:  "Just build it, damnit!"
>
> @TheKeyboard -http://www.littlehart.net/atthekeyboard


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to