2.1. Opening a database

bool open ( string filename [, bool readonly] )

Opens a Miranda IM database (and makes the cache for all modules).

The optional readonly parameter can be set to TRUE if you only want to read the database.

Returns TRUE on success or throws MimDbHandler_Exception on failure.