Post by Paul GaboritÀ (at) Mon, 9 May 2011 10:05:42 -0700 (PDT),
Post by Frantz DorsemaineEt voila faut écouter les conseil, grand merci Paul car DBD::Mysql
utilise la même syntaxe et cela fonctionne.
Parfait. Attention l'inverse n'est pas vrai : on peut faire des choses
avec DBD::mysql qu'on ne peut pas faire avec DBD::mysqlPP. ;-)
N'oubliez pas non plus qu'il faudra mettre à jour DBD::mysql aussi
souvent que mysql lui-même pour ne pas risquer d'incompatibilités (bien
qu'il y ait peu de risques).
Ça fait toujours plaisir à lire. ;-)
--
Paul Gaborit - <http://perso.mines-albi.fr/~gaborit/>
Perl en français - <http://perl.mines-albi.fr/>
Reste un problème à résoudre mais cette fois ci c'est l'installation
DBD::mysql sur macOSX 10.6.7.
Voici le message d'erreur :
Last login: Mon May 9 19:53:37 on ttys000
MacBook-Pro-de-Frantz-DORSEMAINE:~ frantzdorsemaine$ cd Downloads/DBD-
mysql-4.019
MacBook-Pro-de-Frantz-DORSEMAINE:DBD-mysql-4.019 frantzdorsemaine$
perl Makefile.PL
Set up build environment without MacOSX10.4u SDK (will build i386
binaries)
Can't exec "mysql_config": No such file or directory at Makefile.PL
line 82.
Cannot find the file 'mysql_config'! Your execution PATH doesn't seem
not contain the path to mysql_config. Resorting to guessed values!
Can't exec "mysql_config": No such file or directory at Makefile.PL
line 464.
Can't find mysql_config. Use --mysql_config option to specify where
mysql_config is located
Can't exec "mysql_config": No such file or directory at Makefile.PL
line 464.
Can't find mysql_config. Use --mysql_config option to specify where
mysql_config is located
Can't exec "mysql_config": No such file or directory at Makefile.PL
line 464.
Can't find mysql_config. Use --mysql_config option to specify where
mysql_config is located
PLEASE NOTE:
For 'make test' to run properly, you must ensure that the
database user 'frantzdorsemaine' 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
'frantzdorsemaine'@'localhost' identified by 's3kr1t';
You can also optionally set the user to run 'make test' with:
perl Makefile.PL --testuser=username
Can't exec "mysql_config": No such file or directory at Makefile.PL
line 464.
Can't find mysql_config. Use --mysql_config option to specify where
mysql_config is located
Can't exec "mysql_config": No such file or directory at Makefile.PL
line 464.
Can't find mysql_config. Use --mysql_config option to specify where
mysql_config is located
Can't exec "mysql_config": No such file or directory at Makefile.PL
line 464.
Can't find mysql_config. Use --mysql_config option to specify where
mysql_config is located
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
MacBook-Pro-de-Frantz-DORSEMAINE:DBD-mysql-4.019 frantzdorsemaine$