sqlite - sqlite3 - how to list out database name using .databases command? -
i'm fresher of rails , sqlite.
here scenario: had sqlite3 installed on windows vista machine. blog application code had been implemented @ c:\rails\blog. brought command prompt , went directly c:\rails\blog\db. ran command sqlite3 enter database console. when used .databases command, no database listed out? why? have done wrong?
you didn't open database itself
sqlite3 database.db remember, in sqlite database file. long don't open or attach one, there no open one. on other hand when open database .databases feels kind of useless, because know 1 opened.
Comments
Post a Comment