Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: How to connect to SQLite database.

by Tux (Monsignor)
on Jul 16, 2014 at 12:35 UTC ( #1093862=note: print w/ replies, xml ) Need Help??

in reply to How to connect to SQLite database.

Wow, I just learned that dbname= is optional in DBD::SQLite. I had to test that to believe it. And it is not even documented :)

my $dbh = DBI->connect ("DBI:SQLite:dbname=abc.db", $userid, $password +, { RaiseError => 1, AutoCommit => 0, }) or die $DBI::errstr;

would be the documented and preferred syntax. (Not that that would solve your problem though)

Enjoy, Have FUN! H.Merijn

Comment on Re: How to connect to SQLite database.
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1093862]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2015-11-30 19:11 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (778 votes), past polls