Re: perl DBI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux