perl DBI

Craig White craig at tobyhouse.com
Fri Dec 29 16:27:48 UTC 2006


On Fri, 2006-12-29 at 01:53 +0200, eng.waleed wrote:
> hi
> I try connect to my sql from perl but it is does not work and when I
> check the log I see this output 
> Perhaps the DBD::mysql perl module hasn't been fully installed,
> I instal the DBD::mysql but it is look as configuration required in
> the my.cnf can any one help?
> BR
----
/etc/my.cnf  # for local mysql server configuration

~/.my.cnf    # for user configuration (ie password, server, etc.)

most logically, any perl connection to mysql will have the connection
parameters embedded within the perl statement itself and thus the
settings in /etc/my.cnf or ~/.my.cnf are not meaningful to perl

you probably want to install perl-DBI package and then look at the man
page for DBI

Craig




More information about the fedora-list mailing list