ref#181 fix database connection rights