in reply to Re^4: DBD::mysql installation
in thread DBD::mysql installation

Anonymous Monk,
Ok, what is unclear to me at this point is what you mean by the mysql libraries except the ones that came with MySQL. There are two main ways one might use DBD::MySQL - to connect to a local database or to connect to a remote database.

In the case of the former (MySQL server on local box), you end up with MySQL client as a bi-product. You need to compile your own client libraries inside of Cygwin and ensure that the Windows installed one doesn't come into play.

In the case of the latter (no local MySQL database), you only need to compile the MySQL client libraries within Cygwin (and not the server as reports are this doesn't work). There shouldn't be a path or version issue since it is the only one present.

It isn't clear to me which of these two you are doing. I only did the first method I described.

Cheers - L~R

Replies are listed 'Best First'.
Re^6: DBD::mysql installation
by Anonymous Monk on Apr 08, 2005 at 12:35 UTC
    I have the client libraries that came with the windows version of MySQL. Does this mean that I have to recompile MySQL in it's entirety under Cygwin? Or is there an option to only compile the client libs?

    Btw: Thanks for the help. Not really the answer I was hoping for, but it looks to be the answer I need.
      Anonymous Monk,
      Sorry I didn't respond sooner - work. You need to compile the MySQL client under Cygwin. Yes there is a way to compile just the client libs. It appears you have already figured this out - grats.

      Cheers - L~R

Re^6: DBD::mysql installation
by Anonymous Monk on Apr 08, 2005 at 14:19 UTC
    Just got it to work. I decided to look in to compiling the source for mysql on windows in Cygwin and got the right client libraries this time. Thanks for your help.