Re: perl DBI cannot connect to host=hhhh; Solved use argname=xxx format

[email protected] (Greg Sabino Mullane) Sun, 1 Sep 2024 09:14:37 -0400
Newsgroups perl.dbi.users
Message-ID <CAKAnmmJYYNXDhJyca-MFu2iiVuRRP3KzzBEskRxqUa9F04QfAg@mail.gmail.com>
--0000000000005f3ec606210e9d46
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Sun, Sep 1, 2024 at 8:27=E2=80=AFAM Dennis German <DGerman@real-world-sy=
stems.com>
wrote:

> In the documentation for DBI I did not see using the call format
> argname=3Dxxxx
>
Connecting is a very driver-specific action, so the best place to look is
the docs for your driver - in your case, DBD::mysql. The very top of the
DBD::mysql manpage[1] has a good sample dsn (data source name) and an
excellent section on how to connect. It's usually best to consult both both
documentations.

Cheers,
Greg

[1] https://metacpan.org/pod/DBD::mysql

--0000000000005f3ec606210e9d46
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">On Sun, Sep 1, 2024 at 8:27=E2=80=AFAM De=
nnis German &lt;<a href=3D"mailto:[email protected]">DGerman@r=
eal-world-systems.com</a>&gt; wrote:<br></div><div class=3D"gmail_quote"><b=
lockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-le=
ft:1px solid rgb(204,204,204);padding-left:1ex"><u></u>

 =20
   =20
 =20
  <div>
    <p>In the documentation for DBI I did not see using the call format
      argname=3Dxxxx<br></p></div></blockquote><div>Connecting is a very dr=
iver-specific action, so the best place to look is the docs for your driver=
 - in your case, DBD::mysql. The very top of the DBD::mysql manpage[1] has =
a good sample dsn (data source name) and an excellent section on how to con=
nect. It&#39;s usually best to consult both both documentations.</div><div>=
<br></div><div>Cheers,</div><div>Greg</div><div>=C2=A0</div><div>[1]=C2=A0<=
a href=3D"https://metacpan.org/pod/DBD::mysql">https://metacpan.org/pod/DBD=
::mysql</a></div><div><br></div></div></div>

--0000000000005f3ec606210e9d46--