Re: Unable to connect to SQLite database file
- From: "J. Gleixner" <glex_no-spam@xxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 08 Jun 2006 16:31:08 -0500
Sam wrote:
A doubt - if the database file doesn't exist, shouldn't the DBI module
create it? I tried to do that too, but again got the same error:
DBI connect('database=/path_to_database/newdb.db3','',...) failed:
unable to open database file(1) at dbdimp.c line 94 at tool.cgi line 18
Does it work from the command line?
On another forum, somebody suggested that I re-upload the database file
in binary mode. Thinking that could have been the problem, I tried that
too but the problem still persists. I am totally stumped ...
When you installed DBD::SQLite, did you do a "make test"?
I missed your original post. What's the value of $dsn?
.
- Follow-Ups:
- References:
- Unable to coonect to SQLite database file
- From: Sam
- Re: Unable to coonect to SQLite database file
- From: Tad McClellan
- Re: Unable to connect to SQLite database file
- From: Sam
- Re: Unable to connect to SQLite database file
- From: DJ Stunks
- Re: Unable to connect to SQLite database file
- From: Sam
- Unable to coonect to SQLite database file
- Prev by Date: Binding array to pattern
- Next by Date: RXParse module v.91 (by robic0)
- Previous by thread: Re: Unable to connect to SQLite database file
- Next by thread: Re: Unable to connect to SQLite database file
- Index(es):
Relevant Pages
|