Re: Apache::DBI - consistently encountering about a .00667% error rate

Tim Lank <[email protected]> Thu, 10 Oct 2024 11:02:16 -0400
Newsgroups gmane.comp.apache.mod-perl
Message-ID <CAHyifnQfWQqFQkiLiDa-AN6CTEJDoQXrfULUjXCNyi7G5f_z1Q@mail.gmail.com>
--000000000000b49439062420a898
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Thanks Ed.  I'll add it and see if it helps.  My load testing phase is
already completed, but I may get a chance to retest next year.

On Thu, Oct 10, 2024 at 6:32=E2=80=AFAM Edward J. Sabol <edwardjsabol@gmail=
.com>
wrote:

> On Oct 7, 2024, at 5:55=E2=80=AFPM, Tim Lank <[email protected]> wrote:
>
> I have the following in my startup.pl:
>
> use CGI qw(:all);
> use CGI::Carp 'fatalsToBrowser', 'carpout';
> use List::Util 'shuffle';
> CGI->compile(':all');
> Apache::DBI->connect_on_init
>
>   ("DBI:mysql:holidayshop",
>
>
> I don't know if it will help or not, but, before the above lines, your
> startup.pl should also have the following lines:
>
> use DBI;
> DBI->install_driver('mysql');
> use Apache::DBI;
>
> Regards,
> Ed
>
>

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

<div dir=3D"ltr">Thanks=C2=A0Ed.=C2=A0 I&#39;ll add it and see if it helps.=
=C2=A0 My load testing phase is already completed, but I may get a chance t=
o retest next year.</div><br><div class=3D"gmail_quote"><div dir=3D"ltr" cl=
ass=3D"gmail_attr">On Thu, Oct 10, 2024 at 6:32=E2=80=AFAM Edward J. Sabol =
&lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt=
; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px=
 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div di=
r=3D"auto"><div dir=3D"ltr"></div><div dir=3D"ltr">On Oct 7, 2024, at 5:55=
=E2=80=AFPM, Tim Lank &lt;<a href=3D"mailto:[email protected]" target=3D"=
_blank">[email protected]</a>&gt; wrote:</div><blockquote type=3D"cite" s=
tyle=3D"color:rgb(0,0,0)"><div dir=3D"ltr"><div>I have the following in my=
=C2=A0<a href=3D"http://startup.pl/" target=3D"_blank">startup.pl</a>:</div=
><div><br></div><div>use CGI qw(:all);<br>use CGI::Carp &#39;fatalsToBrowse=
r&#39;, &#39;carpout&#39;;<br>use List::Util &#39;shuffle&#39;;<br>CGI-&gt;=
compile(&#39;:all&#39;);<br>Apache::DBI-&gt;connect_on_init<br></div></div>=
</blockquote><div dir=3D"ltr"><blockquote type=3D"cite">=C2=A0 (&quot;DBI:m=
ysql:holidayshop&quot;,</blockquote></div><div dir=3D"ltr"><br></div><div d=
ir=3D"ltr">I don&#39;t know if it will help or not, but, before the above l=
ines, your <a href=3D"http://startup.pl" target=3D"_blank">startup.pl</a> s=
hould also have the following lines:</div><div dir=3D"ltr"><br></div><div d=
ir=3D"ltr">use DBI;</div><div dir=3D"ltr"><div dir=3D"ltr">DBI-&gt;install_=
driver(&#39;mysql&#39;);</div><div>use Apache::DBI;</div></div><div dir=3D"=
ltr"><br></div><div dir=3D"ltr">Regards,</div><div dir=3D"ltr">Ed</div><div=
 dir=3D"ltr"><br></div></div></blockquote></div>

--000000000000b49439062420a898--