Changed over from ugly mySqlHandler.py usage to plain oursql calls.