Re: Apache::DBI - consistently encountering about a .00667% error rate
"Edward J. Sabol" <[email protected]> Thu, 10 Oct 2024 06:31:40 -0400
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <[email protected]> |
--Apple-Mail-A2D15BDF-6E34-4C71-B9C6-F57FFF45C69D Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D= utf-8"></head><body dir=3D"auto"><div dir=3D"ltr"></div><div dir=3D"ltr" sty= le=3D"-webkit-text-size-adjust: auto;">On Oct 7, 2024, at 5:55=E2=80=AFPM, T= im Lank <[email protected]> wrote:</div><blockquote type=3D"cite" st= yle=3D"color: rgb(0, 0, 0); -webkit-text-size-adjust: auto;"><div dir=3D"ltr= "><div>I have the following in my <a href=3D"http://startup.pl/">startu= p.pl</a>:</div><div><br></div><div>use CGI qw(:all);<br>use CGI::Carp 'fatal= sToBrowser', 'carpout';<br>use List::Util 'shuffle';<br>CGI->compile(':al= l');<br>Apache::DBI->connect_on_init<br></div></div></blockquote><div dir= =3D"ltr"><blockquote type=3D"cite"> ("DBI:mysql:holidayshop",</blockqu= ote></div><div dir=3D"ltr"><br></div><div dir=3D"ltr">I don't know if it wil= l help or not, but, before the above lines, your startup.pl should also have= the following lines:</div><div dir=3D"ltr"><br></div><div dir=3D"ltr">use D= BI;</div><div dir=3D"ltr"><div dir=3D"ltr">DBI->install_driver('mysql');<= /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></bo= dy></html>= --Apple-Mail-A2D15BDF-6E34-4C71-B9C6-F57FFF45C69D--