![]() Using DBI 1.631 (for perl 5.018002 on darwin-thread-multi-2level) installed in /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level/auto/DBI/ To change these settings, see 'perl Makefile.PL -help' and Libs (mysql_config) = -L/usr/local/src/mysql/lib -lmysqlclient I will use the following settings for compiling and testing:Ĭflags (mysql_config) = -I/usr/local/src/mysql/include -g -fno-omit-frame-pointer -fno-strict-aliasing -arch x86_64 You can also optionally set the user to run 'make test' with: Mysql> grant all privileges on test.* to identified by 's3kr1t' 'YAML' not installed, will not store persistent stateĬonfiguring C/CA/CAPTTOFU/ with Makefile.PLįor 'make test' to run properly, you must ensure that theĭatabase user 'wayne' can connect to your MySQL serverĪnd has the proper privileges that these tests require suchĪs 'drop table', 'create table', 'drop procedure', 'create procedure' Scanning cache /var/root/.cpan/build for sizes Sh-3.2# export PATH=$PATH:"/usr/local/src/mysql/bin"Ĭpan shell - CPAN exploration and modules installation (v2.10)ĭatabase was generated on Tue, 15:29:02 GMTĬhecksum for /var/root/.cpan/sources/authors/id/C/CA/CAPTTOFU/ ok Sh-3.2# setenv PATH $PATH:"/usr/local/mysql/bin" usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin While trying to install DBD::mysql on Mac OS X you receive the error message: "Library not loaded: libmysqlclient.18.dylib" "Library not loaded: libmysqlclient.18.dylib" Perl DBD::mysql install fix on Mac OS X for error message So, while I can’t tell you how to get MAMP/MySQL to read a my.cnf configuration file, I can confirm that if you modify the MAMP/MySQL startup script as shown, this approach works.Perl DBD::mysql install fix on Mac OS X for error message log-error=/Applications/MAMP/logs/mysql_error_log
0 Comments
Leave a Reply. |