| View previous topic :: View next topic |
| Author |
Message |
at.splat
Joined: 01 Sep 2008 Posts: 1
|
Posted: Mon Sep 01, 2008 9:04 pm Post subject: MDB2/SQLite connection error |
|
|
I am trying to connect to a SQLite (v.2) database file using the following:
| Code: | | $_Db =& MDB2::factory('sqlite:///users/home/.../db/sqlite/users.sqlite?mode=0666'); |
I get the following error when I try to execute a query:
| Quote: | | Warning: touch() [function.touch]: Unable to create file users/home/.../db/sqlite/users.sqlite because No such file or directory in /usr/local/lib/php/MDB2/Driver/sqlite.php on line 364 |
File permissions on users.sqlite and its parent directory are set to 0666.
What is causing touch() to error out? Am I using a properly formatted DSN (except '...', of course)?
Thanks. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|