in reply to Re^2: Table in SQLite
in thread Table in SQLite
DBD::mysql connects to the server (localhost), chooses a database (nehnu), which is mapped to a disk location (c:/MySQL/Data/database), and logs in with a user (root). The DSN contains all that info:
DBI->connect("dbi:mysql:nehnu;localhost", "root", "");
DBD::SQLite opens the database file. The DSN just needs the filename:
DBI->connect("dbi:SQLite:/SQLite/Data/database.sqlt");
|
|---|