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

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -