On Sunday, January 18, 2009 7:59:57 PM UTC, bookme 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
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 cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment