Re: Cake can't connect to DB but only shows an error that there's missing a table!

2010-09-13 Thread Joshua Muheim
Right, MySQL on OSX.

On Sat, Sep 11, 2010 at 1:25 AM, francky06l  wrote:
> MySql on Mac probably ?
>
> On Sep 9, 2:13 pm, Joshua Muheim  wrote:
>> OK, at least I now found out what was the problem for CakePHP not
>> being able to connect to MySQL: more coincidentally I found the
>> following link:
>>
>> http://soledadpenades.com/2006/08/06/wrong-location-of-mysqlsock/
>>
>> that states that CakePHP looks in
>>
>> /var/mysql/mysql.sock
>>
>> for the mysql socket, and that normally this one is in
>>
>> /tmp/mysql.sock.
>>
>> So I created a soft link, and now it works. But I am very disappointed
>> with the error messages in CakePHP...
>>
>> On Thu, Sep 9, 2010 at 2:00 PM, psybear83  wrote:
>> > Hi everybody
>>
>> > I have overtaken a CakePHP application that I have to optimize now. I
>> > have installed it on my computer, but I could't get it to run properly
>> > yet.
>>
>> > It tells me that " Database table acos for model Aco was not found.",
>> > but the real problem is, that it can't connect to the DB! Somehow it
>> > doesn't complain about that, but as soon as there's a table needed, it
>> > notices that there isn't any.
>>
>> > I guess this is quite unclean, IMHO it should complain that it can't
>> > connect to the DB.
>>
>> > Is this normal?
>>
>> > Thanks for help
>> > Josh
>>
>> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others 
>> > with their CakePHP related questions.
>>
>> > 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+unsubscr...@googlegroups.com For more options, visit this group 
>> > athttp://groups.google.com/group/cake-php?hl=en
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others 
> with their CakePHP related questions.
>
> 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+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Cake can't connect to DB but only shows an error that there's missing a table!

2010-09-10 Thread francky06l
MySql on Mac probably ?

On Sep 9, 2:13 pm, Joshua Muheim  wrote:
> OK, at least I now found out what was the problem for CakePHP not
> being able to connect to MySQL: more coincidentally I found the
> following link:
>
> http://soledadpenades.com/2006/08/06/wrong-location-of-mysqlsock/
>
> that states that CakePHP looks in
>
> /var/mysql/mysql.sock
>
> for the mysql socket, and that normally this one is in
>
> /tmp/mysql.sock.
>
> So I created a soft link, and now it works. But I am very disappointed
> with the error messages in CakePHP...
>
> On Thu, Sep 9, 2010 at 2:00 PM, psybear83  wrote:
> > Hi everybody
>
> > I have overtaken a CakePHP application that I have to optimize now. I
> > have installed it on my computer, but I could't get it to run properly
> > yet.
>
> > It tells me that " Database table acos for model Aco was not found.",
> > but the real problem is, that it can't connect to the DB! Somehow it
> > doesn't complain about that, but as soon as there's a table needed, it
> > notices that there isn't any.
>
> > I guess this is quite unclean, IMHO it should complain that it can't
> > connect to the DB.
>
> > Is this normal?
>
> > Thanks for help
> > Josh
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others 
> > with their CakePHP related questions.
>
> > 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+unsubscr...@googlegroups.com For more options, visit this group 
> > athttp://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Cake can't connect to DB but only shows an error that there's missing a table!

2010-09-09 Thread Joshua Muheim
OK, at least I now found out what was the problem for CakePHP not
being able to connect to MySQL: more coincidentally I found the
following link:

http://soledadpenades.com/2006/08/06/wrong-location-of-mysqlsock/

that states that CakePHP looks in

/var/mysql/mysql.sock

for the mysql socket, and that normally this one is in

/tmp/mysql.sock.

So I created a soft link, and now it works. But I am very disappointed
with the error messages in CakePHP...

On Thu, Sep 9, 2010 at 2:00 PM, psybear83  wrote:
> Hi everybody
>
> I have overtaken a CakePHP application that I have to optimize now. I
> have installed it on my computer, but I could't get it to run properly
> yet.
>
> It tells me that " Database table acos for model Aco was not found.",
> but the real problem is, that it can't connect to the DB! Somehow it
> doesn't complain about that, but as soon as there's a table needed, it
> notices that there isn't any.
>
> I guess this is quite unclean, IMHO it should complain that it can't
> connect to the DB.
>
> Is this normal?
>
> Thanks for help
> Josh
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others 
> with their CakePHP related questions.
>
> 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+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Cake can't connect to DB but only shows an error that there's missing a table!

2010-09-09 Thread psybear83
Hi everybody

I have overtaken a CakePHP application that I have to optimize now. I
have installed it on my computer, but I could't get it to run properly
yet.

It tells me that " Database table acos for model Aco was not found.",
but the real problem is, that it can't connect to the DB! Somehow it
doesn't complain about that, but as soon as there's a table needed, it
notices that there isn't any.

I guess this is quite unclean, IMHO it should complain that it can't
connect to the DB.

Is this normal?

Thanks for help
Josh

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en