fix #2. default to localhost and accept the database name as the first arg.