cli request does not has an ip
catch global exceptions
use a seperated db object in Session
mysql found rows support
enable unescape for group by in active record
enable mysql insert on duplicate update