Fixes on install sql file
Small fix on database driver