Hi
I am using cakephp on linux ,and using xampp.
I am trying to excute bake cake command:
and this screen appear to me
the problem when i select c: these warning and errors appear to me
And my database has 5 tables.
Any one can help me in this
thanks
I am using cakephp on linux ,and using xampp.
I am trying to excute bake cake command:
sudo apt-get install cakephp-scripts
..
..
..
cake bake -app /opt/lampp/htdocs/blog/app
..
..
..
cake bake -app /opt/lampp/htdocs/blog/app
Welcome to CakePHP v1.2.3.8166 Console
---------------------------------------------------------------
App : app
Path: /opt/lampp/htdocs/blog/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)
>
---------------------------------------------------------------
App : app
Path: /opt/lampp/htdocs/blog/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)
>
Warning: mysql_connect() : Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /usr/share/php/cake/libs/model/datasources/dbo/dbo_mysql.php on line 374
Warning: mysql_select_db (): supplied argument is not a valid MySQL-Link resource in /usr/share/php/cake/libs/model/datasources/dbo/dbo_mysql.php on line 379
Warning: mysql_get_serve r_info(): supplied argument is not a valid MySQL-Link resource in /usr/share/php/cake/libs/model/datasources/dbo/dbo_mysql.php on line 387
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /usr/share/php/cake/libs/model/datasources/dbo/dbo_mysql.php on line 411
Error: Your database does not have any tables.
Warning: mysql_select_db (): supplied argument is not a valid MySQL-Link resource in /usr/share/php/cake/libs/model/datasources/dbo/dbo_mysql.php on line 379
Warning: mysql_get_serve r_info(): supplied argument is not a valid MySQL-Link resource in /usr/share/php/cake/libs/model/datasources/dbo/dbo_mysql.php on line 387
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /usr/share/php/cake/libs/model/datasources/dbo/dbo_mysql.php on line 411
Error: Your database does not have any tables.
Any one can help me in this
thanks
Comment