MySQL Forums
Forum List  »  Perl

Re: install_driver(mysql) failed
Posted by: abraham cottrill
Date: April 28, 2009 01:36PM

First: thanks for providing some support that actually helped a bit. the first line worked, second failed with the erros listed below. I know that there is a version error here, but i thought this is how i got around this problem once before.... any suggestions?



I am using 5:10.0 active perl

when i tried
C:\Perl\bin>perl -MCPAN -e "install DBD::mysql"

<truncated>

CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-4.011.tar.gz

Use of uninitialized value $ENV{"USER"} in concatenation (.) or string at Makefile.PL line 488.
Use of uninitialized value in concatenation (.) or string at Makefile.PL line 488.


PLEASE NOTE:

For 'make test' to run properly, you must ensure that the
database user '' can connect to your MySQL server
and has the proper privileges that these tests require such
as 'drop table', 'create table', 'drop procedure', 'create procedure'
as well as others.

mysql> grant all privileges on test.* to ''@'localhost' identified by 's3kr1t';

You can also optionally set the user to run 'make test' with:

perl Makefile.pl --testuser=username

Failed to determine directory of mysql.h. Use

perl Makefile.PL --cflags=-I<dir>

to set this directory. For details see the INSTALL.html file,
section "C Compiler flags" or type

perl Makefile.PL --help
Warning: No success on command[C:\Perl\bin\perl.exe Makefile.PL INSTALLDIRS=site]
CAPTTOFU/DBD-mysql-4.011.tar.gz
C:\Perl\bin\perl.exe Makefile.PL INSTALLDIRS=site -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install

Options: ReplyQuote


Subject
Written By
Posted
February 23, 2006 07:49AM
February 23, 2006 07:02PM
April 22, 2006 01:36PM
April 22, 2006 06:50PM
Re: install_driver(mysql) failed
April 28, 2009 01:36PM
September 13, 2007 06:54AM
h h
October 30, 2007 01:15AM
January 13, 2008 01:25PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.