On 12/19, NaeiKinDus wrote:
> Hi there,
> 
> Sorry for the thread hijacking / bump, but a little more information
> on this topic could help some people. Is there anything else to do/
> check to get it working ? In my case, CakePHP cannot connect to the
> database, even though I have the PDO installed and configured to work
> with SQLite (& SQLite2).
> Sample of my database.php config:
> 
> public $default = array(
>                 'datasource' => 'Database/Sqlite',
>                 //'database' => '/var/www/app/Config/
> db_name',
>                 'database' => 'db_name',
>         );
> 
> I tried both values for the database param, the first one referring to
> the full path of the db, the second to the db_name database being
> located in the webroot and the Config folders. The db_name file was
> created with one empty table using SQLite3 CLI.

What about file permissions? Make sure created database can be modified by the
cakephp process.


Matteo

-- 
http://www.matteolandi.net

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to