Handle hostname, username, and password for SQL server queries.