Re: DBD::MySQL

Peter Pentchev <[email protected]> Tue, 16 Nov 2010 12:45:51 +0200
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
--8P1HSweYDcXXzwPJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Nov 16, 2010 at 12:41:20PM +0200, Peter Pentchev wrote:
> On Tue, Nov 16, 2010 at 10:33:47AM +0000, Dave Howorth wrote:
> > Andy wrote:
> > > I have installed DBD:MySQL 4.0.18 on Perl 5.10, Mac OS X 10.6.
> > >=20
> > > Any ideas about what I might have done wrong? About what I need to do=
 to
> > > fix it?
> > > The following test script produces the errors shown below:
> > > #!/usr/bin/perl -w
> > > use strict;
> > > use warnings;
> > >=20
> > > use DBI;
> > > use DBD::MySQL;
> > >=20
> > > my $GCdbSchemaName =3D "gfrm";
> > > my $GCdbUn         =3D "gfrm";
> > > my $GCdbPw         =3D "gfrm";
> > >=20
> > > my $dbHandle =3D DBI->connect("DBI:mysql:database=3D$GCdbSchemaName",=
 $GCdbUn,
> > > $GCdbPw);
> > > exit;
> >=20
> > Well on my machine that code says "Can't locate DBD/MySQL.pm". It says
> > that because the module is actually called DBD::mysql.
> [snip]
>=20
> ...unless he's using it on a case-insensitive filesystem.

Okay, that was a bit poorly-phrased :)  Even if the original poster is
using the module on a case-insensitive filesystem, it would still be
called "DBD::mysql" and you'd still be right that it's actually called
"DBD::mysql" :)  But this would not be a problem.

G'luck,
Peter

--=20
Peter Pentchev	[email protected]    [email protected]    [email protected]
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
If you think this sentence is confusing, then change one pig.

--8P1HSweYDcXXzwPJ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJM4mDeAAoJEGUe77AlJ98TRXoP/1X+LaOuHX6TogAZkQF3wA4Z
0nYLOS/1UhC3Wq5IYi8Hjno2j/wY41aZolHQOLiNu1O2/RUOg/Vbr/cjgCULue+S
OmLk2Je+1nY2LJ0G0GiFYLdLV8wijGO1s40kyo168ihV0l+xIhPY/T6iiGdCdHve
awaeWMpiqv9wgaYRA4JBh0jYJMMU0KAmOxXrIBT6Equh2LF5yym3b1igXOVlitRa
+nKemsbC7dTbucaHvHcutpHLByzAsH4060BNSUuj7TRYZkbLqcbimEvcWxtww3Zs
jaNE6/lAFb3YnHm4TA6EKTeAO8wPnRGzdr7mkttzrdAmgG0oLZ88naO/CTKeK+O7
yyiU4X9Xe0lFh+csEdDTD9Zg/HcFjoYsS1qNqMLGQhSyVwcQFNSWrELlQniKarbW
jkxfw5kGrpG9pLpOHtmnyfxOyX15G8s8X62ea/r3d/R27J/Ca1Z2aEIHzgpMpra2
Eu4BJVV3KCaom5kaIGHdu8Xq8iqcDNlIVWB7u8iCULYmPBHfviYJX4oxZNKkRmD3
ll5nCmdXPfLWHLgMjnJk0wFu44LXpRYVel2TMkFDp82lSCD63DtAxoul4KUe8wJ3
gvT+bAUjcD/U7DO6gLZjQriaZiNTGsoZlrJpVPI0HJIu/f0DLVCrwTF6brRVOz/q
tc/i0tveXRhzi3gNqoRR
=T8WP
-----END PGP SIGNATURE-----

--8P1HSweYDcXXzwPJ--