MySQL and Perl
I'm trying to add 2 modules to MySQl using Perl. Instructions say to use
perl -MCPAN -e 'install DBI' and perl -MCPAN -e 'install DBD::mysql'.
I'm using an XServe G5 running 10.4.2. When executing the first command I get the following result
Writing Makefile for DBI
-- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
I also ran a mysql -v and received the following
insidedns2:/etc root# mysql -v
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)
insidedns2:/etc root#
Are they related, and does someone know the workaround.
Thanks
perl -MCPAN -e 'install DBI' and perl -MCPAN -e 'install DBD::mysql'.
I'm using an XServe G5 running 10.4.2. When executing the first command I get the following result
Writing Makefile for DBI
-- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
I also ran a mysql -v and received the following
insidedns2:/etc root# mysql -v
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)
insidedns2:/etc root#
Are they related, and does someone know the workaround.
Thanks