Switched to using mysql instead of sqllite