in reply to Re^3: Can't connect to data source 'DBI:SQLite:\C:\Users\DON\Desktop\data.db
in thread pp concatenate path

Additional output

Reading dbfile path from configuration file... C:/users/DON/Desktop/da +ta.db same DBI 1.641-ithread default trace level set to 0x0/1 (pid 12552 pi 2 +6e26a4) at myscript.pl line 20 via PAR.pm line 645 -> DBI->connect(dbi:SQLite:dbname=C:/users/DON/Desktop/data.db, , +****) sqlite trace: Closing DB at dbdimp.c line 640 sqlite trace: rc = 0 at dbdimp.c line 642 <- DESTROY(DBI::db=HASH(0x554f094))= ( undef ) [1 items] at PAR.pm + line 645 Can't connect to data source 'dbi:SQLite:dbname=C:/users/DON/Desktop/d +ata.db' because I can't work out what driver to use (it doesn't seem +to contain a 'dbi:driver:' prefix and the DBI_DRIVER env var is not s +et) at script/myscript.pl line 22. <- disconnect_all= ( '' ) [1 items] at DBI.pm line 756 SECOND Connection with dbfile read from file C:/users/DON/Desktop/data +.db ... ! <- DESTROY(DBI::dr=HASH(0x554eb84))= ( undef ) [1 items] +during global destruction
  • Comment on Re^4: Can't connect to data source 'DBI:SQLite:\C:\Users\DON\Desktop\data.db
  • Download Code

Replies are listed 'Best First'.
Re^5: Can't connect to data source 'DBI:SQLite:\C:\Users\DON\Desktop\data.db
by Anonymous Monk on Apr 23, 2018 at 06:53 UTC
    What about the other questions?