db_connect tweak