Looks to me like you ran into the same problem as I did here:
http://blog.accuweaver.com/2008/12/20/moving-my-volunteercake-to-my-mac/

Basically your MySQL and PHP are not configured the same way, so you
need to change one of them so that PHP can talk to MySQL.

This is a pure PHP problem, the first line in your errors shows you
that PHP isn't connecting:

Warning: mysql_connect(): Can't connect to local MySQL server through
socket '/var/mysql/mysql.sock'

On Jan 18, 11:59 am, bookme <[email protected]> wrote:
> Hi,
>
> I am trying to bake cake application on MAC OS but can not get
> success.
>
> I have tried two solution but not working.
>
> 1 when I run cake bake command in app folder
>  xampp/htdocs/cakephp/app> cake bake
> it's showing cake : command not found on terminal
>
> 2 In parent directory when I run
> xampp/htdocs/cakephp > ./cake/console/cake bake
> App : app
> Path: /Application/xampp/xampfiles/htdocs/cakephp/app
> ---------------------------------------------------------------
> Interactive Bake Shell
> ---------------------------------------------------------------
> [D]atabase Configuration
> [M]odel
> [V]iew
> [C]ontroller
> [P]roject
> [Q]uit
> What would you like to Bake? (D/M/V/C/P/Q)
>
> > M
>
> ---------------------------------------------------------------
> Model Bake:
> ---------------------------------------------------------------
> Database Connection:
> [default] >
> Warning: mysql_connect(): Can't connect to local MySQL server through
> socket '/var/mysql/mysql.sock' (2) in /Applications/xampp/xamppfiles/
> htdocs/cake/cake/libs/model/datasources/dbo/dbo_mysql.php on line 370
>
> Warning: mysql_select_db(): supplied argument is not a valid MySQL-
> Link resource in /Applications/xampp/xamppfiles/htdocs/cake/cake/libs/
> model/datasources/dbo/dbo_mysql.php on line 375
>
> Warning: mysql_get_server_info(): supplied argument is not a valid
> MySQL-Link resource in /Applications/xampp/xamppfiles/htdocs/cake/cake/
> libs/model/datasources/dbo/dbo_mysql.php on line 383
>
> Warning: mysql_query(): supplied argument is not a valid MySQL-Link
> resource in /Applications/xampp/xamppfiles/htdocs/cake/cake/libs/model/
> datasources/dbo/dbo_mysql.php on line 407
> Error: Your database does not have any tables.
>
> But My database have one table..then what's wrong here?
> can any body tell me what's wrong I am doing here?
>
> or please tell what's tseps to run cake bake on MAC OS.
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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