connect to the database as user collectd