DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 46PMRm8N022587 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=E9o09GWD X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 88629385841D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1721946466; bh=ruD7/P6lb1lwItXepsy/SOS5hq0HbAJzfhz9w4wkh24=; h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=E9o09GWDUPteHZKu/Zm9uvciqMQL7FYvnhuu8tC8YLmNg95s0vZbH84uh+Nm1LIwe nZEgtgXAwrEnp8oEHH0EOyklWdbEIR8g6l2If5AIm0sPtYTVlqvbDoiqKH/lOVBU+N ZKHJKIG6rzKjlRaBSJ0F0HFFcRvlKw5MyCzUBbrk= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6BB003858D20 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6BB003858D20 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1721946411; cv=none; b=RLooLBR41PakG4b6biTIgexUpTmxLKjfXTb0MH3vf6/0UOHOanG+wsVRGkHmk16lI0wbvM+pnFKrd322EY/Zw16lopUL79CKnL65LxBEPnnnNCWJAL4qGybDeG6QCCDc/xizja9vU5B7U0iHOE+mprf24WeXcCCQH9Fo+WFoyF0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1721946411; c=relaxed/simple; bh=upP+IHboL6/Hl6uZtuijIE33yoaz6gYoa99ZXTMwl/M=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=XocWPq3Ldq5G7LNItGFMwFiVDUSnUXHZCHYQ424k7KR/lcrNayXl1wcYBWmMCR97eNacLBDVf3Jiq6JpU0iFNNxBpJBqmNBmm8tSgptnoxRJiNKavBHG198xgERd2rNteZGpPeNPQVcJlbBLaJyk6HL80ZLUWkHSRoXdvWZUfCc= ARC-Authentication-Results: i=1; server2.sourceware.org X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721946408; x=1722551208; h=to:subject:message-id:date:from:reply-to:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=upP+IHboL6/Hl6uZtuijIE33yoaz6gYoa99ZXTMwl/M=; b=q4S55mFzRTLtEVY2wkCnTAnp1v6v7TVbnZ49xC1K9BLZLdpNYgnnB8392ee4edMK/D JstjIvpcnjhsn5q6e80nytXxnpGq59OodwZpSb87BDnPKVy92WzsZ/rzN/72BlS1VzTB NqK0PjYHvEH2+mOSz3tfmsfnf+sx4oTZJFlETEulIb21W3/XxsWEMNg6fGkuu7SQv8f2 HiWyMMT8YKXFQ/2Ln0wjJ/HQ9k3uXNzLVWMPWNGd6+9qF2YXAoh9lsjuiSMYYZmw+VMr bR/O3/mt21rPEcNL86Ew/Yny52bTJrHqZimfgYyTarLf8RTfGt+lcgVnFcfvC2LZfrb2 85Ag== X-Gm-Message-State: AOJu0YweFpU7JiaBJE1yxeQGOUmRfB6KCeyevr6ZWF8+YES+0uqU0jif uDSNcgfJ/JMKhFcylCvya3j67N66k0AtiEfQuk2v/Qf0yEFNSl6NxucW8X+YET7IRTgF8ZKv8s9 ipz4t1AllbAi3El/7MbV6HfaaKa1d96HU X-Google-Smtp-Source: AGHT+IFWM1qUnYxwSI53ygyv9FIaw9OiR2GJeySjYBFg76ISX7k9JnpyRTa8VNqvs61XfFes1HTYFAWYJE6jPkSSzho= X-Received: by 2002:a05:6102:469b:b0:48f:40c1:3cd0 with SMTP id ada2fe7eead31-493d63f4591mr3558554137.12.1721946408514; Thu, 25 Jul 2024 15:26:48 -0700 (PDT) MIME-Version: 1.0 Date: Thu, 25 Jul 2024 18:26:14 -0400 Message-ID: Subject: DBD::mysql not reading host from config file To: cygwin AT cygwin DOT com X-Spam-Status: No, score=1.0 required=5.0 tests=BAYES_20, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Danny Rice via Cygwin Reply-To: danny DOT w DOT rice AT gmail DOT com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" With a dsn like $dsn = "dbi:mysql:mysql_ssl=1;mysql_read_default_file=test.cnf;mysql_read_default_group=test_group"; $dbh = DBI->connect($dsn); seemingly fails to read the host from [test_group] in test.cnf. Adding a valid host=host_name to the $dsn succeeds in reading the user, password etc from test.cnf and the connection succeeds This has been an issue since at least 2020 and I've had to just specify the host in the $dsn on cygwin. On linux it does read the host from the config file. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple