DBD-mysql发生Cannot find the file 'mysql_config'的解决办法
DBD-mysql发生Cannot find the file 'mysql_config'的解决办法:
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 /root/.cpan/build/DBD-mysql-4.020/Makefile.PL line 478.
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 /root/.cpan/build/DBD-mysql-4.020/Makefile.PL line 478.
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 /root/.cpan/build/DBD-mysql-4.020/Makefile.PL line 478.
Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
编译的时候加上mysql_config的路径和mysql路径
perl Makefile.PL --mysql_config=/usr/local/mysql/bin/mysql_config --with-mysql=/usr/local/mysql
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 /root/.cpan/build/DBD-mysql-4.020/Makefile.PL line 478.
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 /root/.cpan/build/DBD-mysql-4.020/Makefile.PL line 478.
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 /root/.cpan/build/DBD-mysql-4.020/Makefile.PL line 478.
Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
编译的时候加上mysql_config的路径和mysql路径
perl Makefile.PL --mysql_config=/usr/local/mysql/bin/mysql_config --with-mysql=/usr/local/mysql