List:MySQL and Perl« Previous MessageNext Message »
From:Rudy Lippan Date:April 7 2004 6:04pm
Subject:Re: perl-DBD-mysql for MySQL4
View as plain text  
On 7 Apr 2004, Joao Miguel Ferreira wrote:

> > Make sure that the correct mysql_config (for MySQL 4) is in you path 
> 
> sorry but, how exactly do I do that (I'm not very expert) ?
> 

You can do a 'which mysql_config' that will tell you which mysql_config 
the system will use. If it returns nothing or if it returns the path to a 
mysql_config from a mysql that you do not want to use (mysql 3 for 
example) then you will need to modify your path:

export PATH=path/to/mysql_config:$PATH;

The RPM probably already took care of that for you. 

> > and 
> > then:
> > 
> > perl -MCPAN -e 'install DBD::mysql'
> 
> this one I know. it connects to the CPAN and instals the DBD, right ?
> 

Yes.

Thread
perl-DBD-mysql for MySQL4Joao Miguel Ferreira7 Apr
  • Re: perl-DBD-mysql for MySQL4Rudy Lippan7 Apr
    • Re: perl-DBD-mysql for MySQL4Joao Miguel Ferreira7 Apr
      • Re: perl-DBD-mysql for MySQL4Rudy Lippan7 Apr
        • Re: perl-DBD-mysql for MySQL4Joao Miguel Ferreira7 Apr
          • Re: perl-DBD-mysql for MySQL4Rudy Lippan7 Apr
            • Re: perl-DBD-mysql for MySQL4Joao Miguel Ferreira7 Apr
              • Re: perl-DBD-mysql for MySQL4Rudy Lippan7 Apr
                • Re: perl-DBD-mysql for MySQL4Joao Miguel Ferreira7 Apr