made it easy once again to switch back and forth between using mysql and sqlite (in one line). Currently committed as MySQL (for production use)