Accessing SMAT database using sqlite command To access a SMAT database using sqlite: sqlite3 <smatdbName> PRAGMA KEY = <siteName> Ignore this step if the SMAT database is not encrypted. <sql to query> For example, select * from smat_msgs. .quit