Re: Unable to connect to SQLite database file



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?
.



Relevant Pages

  • Re: piggybacking
    ... and a third person responds to the original post via the ... second post, but ignores the second poster. ... all I saw was a post from Sam ...
    (rec.pets.cats.anecdotes)
  • Re: ID 1970s preschool series about Sam & Ann?
    ... Original post: ... Ann dreams of finding pirate treasure - a bag of rings. ... Ann is allowed to pitch but is refused by Sam to bat, ... The illustrator is Carol Andrews Moore. ...
    (rec.arts.books.childrens)
  • Re: Chkdsk "cannot open volume for direct access" & Zone Alarm problem
    ... > I wrote in my original post that I did go back to the earlier ... You may need to do a "Clean" uninstall, since not every piece of the ... Sam ...
    (microsoft.public.windowsxp.general)
  • Re: How to skip deleted records linking table
    ... "Mark A. Sam" wrote: ... I would try deleting the DSN and recreatring it. ... Now I would like the deleted records not to import. ...
    (microsoft.public.access.externaldata)
  • Another Question
    ... Can this be done without using a DSN? ... Mark A. Sam wrote: ... me for a fieldto select as a unique indentifier. ... APrimaryKey is the primary key field or field list. ...
    (microsoft.public.access.formscoding)