DBD::mysql question

Phil Dobbin phildobbin at gmail.com
Sat Oct 29 17:39:25 PDT 2011


On 29/10/11 at 01:22, ryandesign at macports.org (Ryan Schmidt) wrote:

>Two questions for you...
>
>1. Why did you compile your MySQL server yourself? Why not use 
>the MacPorts mysql5-server port?

I’d originally downloaded & installed the MySQL binary but 
that proved problematical as I’d used the 32-bit version & the 
perl I’d installed in /usr/local/ (not wanting to mess with 
the system perl) was 64-bit therefore they wouldn’t play nice. 
At the time I hadn’t looked at MacPorts (wish I had) mainly 
because in years gone by I’d used Fink & didn’t particularly 
enjoy the experience (YMMV). So I compiled MySQL 64-bit from source.

However, when it came to apache2 I read up on MacPorts & decided 
to try it.

>2. Even if you want to continue using your own hand-compiled 
>MySQL server, that's not a problem. p5-dbd-mysql should happily 
>talk to it. In order to do so, it will need its own copies of 
>the MySQL libraries, as installed by the mysql5 port. So just 
>let MacPorts install the mysql5 port for you, even if you don't 
>plan to use it as your server.

I think that would be the ideal answer as I now have versions of 
apache2, PHP, PEAR & perl from MacPorts & I’m finding MacPorts 
a pleasure to use.

Thanks for all the help, Ryan & everybody else,

Cheers,

     Phil.

--
Please consider the environment before reading this email...



More information about the macports-users mailing list