Installing Perl (v5.8.8) module for connecting to MySQL
I want to connect to MySQL Database installed on RHEL 5 using perl v 5.8.8.
The available DBD perl drivers installed on my machine are: DBM, ExampleP, File, Pg, Proxy, Sponge I downloaded DBD-mysql-2.1012 and tried installing DBD again but got the following error: Can't exec "mysql_config": No such file or directory at Makefile.PL line 167. readline() on closed filehandle PIPE at Makefile.PL line 169. On searching I found that I need to install libz-devel prior to installing driver for MySQL for Perl. |
How are you trying to install the perl module? Using "perl Makefile.PL, make, make install"?
You can use either rhel package manager: Code:
yum install perl-DBD-mysql Regards |
All times are GMT -5. The time now is 02:58 PM. |