I would like to give you an SQLite hint that I have found very useful.
For Perl, SQLite comes pre-installed as part of my Active State distribution. A simple use DBI; is all I need in Perl code. I have installed and used the mySQL command line tool because I had a mySQL server running on a now defunct machine.
For SQLite, I use a firefox plug-in, SQL Lite Manager. Thing is not 'perfect', but it is impressive and I recommend it. I haven't seen the need yet to install the SQLite command line tool.
Edit: I just tried command "sqlite3" and it worked, much to my surprise. I guess previously I had only tried "sqlite". In any event, try the firefox SQLite GUI.