Added use host, port and database in worker