[FIX] changes in mysql and ckan tools