[#652] Make sure that we have a connection url
[#652] We have to wrap the GRANT/REVOKE in a transaction to make it work