My cakephp app from the web works just fine. It can connect to DB and
I can connect to my tables and  fetch records. But the same database
conf file doesn't work for bake. I'm getting "Your database does not
have any tables." with no other error messages. I have set the path
variable and env vairbles as per screen cast. My OS is linux.

Am I missing something or is this a known issue? Please let me know if
there is a fix for this.

thanks!
Harry

Welcome to CakePHP v1.3.4 Console
---------------------------------------------------------------
App : app
Path: /users/harry/mycake/app
---------------------------------------------------------------
---------------------------------------------------------------
Bake View
Path: /users/harry/mycake/app/views/
---------------------------------------------------------------
Use Database Config: (test/default)
[default] >
Your database does not have any tables.


My database.php file under app/config/ looks like this:

  var $test = array(
                'driver' => 'oracle',
                'persistent' => false,
                'host' => 'myhost',
                'login' => 'harry',
                'password' => 'harry',
                'database' => 'harrydb1',
                'prefix' => 'APP_',
        );
        var $default = array(
                'driver' => 'oracle',
                'persistent' => false,
                'host' => 'myhost',
                'port' => 1521,
                'login' => 'harry',
                'password' => 'harry',
                'database' => 'harrydb1',
                'prefix' => 'APP_',
        );

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

Reply via email to