* MySQL and Perl
@ 2003-09-23 6:25 Andrew DeFaria
0 siblings, 0 replies; 3+ messages in thread
From: Andrew DeFaria @ 2003-09-23 6:25 UTC (permalink / raw)
To: cygwin
Recently I embarked on trying to get MySQL running under Cygwin for a
project I'm working on in Perl. I have downloaded both DBI and DBD for
MySQL for Perl. Installing DBI was no problem. But DBD didn't work. So I
searched the archives and found
http://sources.redhat.com/ml/cygwin/2003-02/msg01717.html which states:
DBI should build out of the box, which version (Perl, DBI, ...) did you
try? To build DBD::mysql DBI needs to be installed and also the mysql
client import lib libmysqlclient.a. MySQL binary
mysql-3.23.43-pc-cygwin-i586.tar.bz2 including the client lib and the
(not stable running) server:
http://koeln.convey.de/cywgin/mysql/
However that link goes nowhere (literally).
Additionally the readme for the DBD package states:
Windows/CygWin
Unfortunately it seems that the usual MySQL windows binaries cannot be
combined with the CygWin libraries. At least I don't know how. In other
words: You need to compile your own MySQL client binaries. In what
follows I assume that you have downloaded and extracted the MySQL
sources and the DBD::mysq sources to /usr/local/src. The following steps
should do:
So where do I get the MySQL sources? (Attempting to download the source
from:
http://www.mysql.com/downloads/download.php?file=Downloads%2FMySQL-4.0%2Fmysql-4.0.15a.tar.gz&pick=mirror
yeilds nothing but errors!).
I think it would be advantagous to have a Cygwin package for just the
MySQL client and/or the MySQL libraries needed to use MySQL as well as a
MySQL server compiled under Cygwin. Apparently that doesn't seem to exist.
===
Obligatory witty line: Honk If you want to see my finger
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 3+ messages in thread
* MySQL and Perl
@ 2001-03-27 9:01 Grahame Wright
2001-03-27 18:28 ` Charles S. Wilson
0 siblings, 1 reply; 3+ messages in thread
From: Grahame Wright @ 2001-03-27 9:01 UTC (permalink / raw)
To: cygwin
Hi
Has anyone managed to get Perl under Cygwin talking to a MySQL server,
either Win32 on the same machine or any outside MySQL server?? I've been
trying for quite a while to get this working, without success. I am fairly
sure it has to do with the /tmp/mysql.sock, or rather the lack of one. All
I get is cannot create IP socket when I try to connect. I can however
connect to the MySQL server using a pre-compiled client under Cygwin...so I
really don't know where to look. Does anyone have this working, or can
point me in the right direction?
Thanks
Grahame
=======
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-09-23 5:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-23 6:25 MySQL and Perl Andrew DeFaria
-- strict thread matches above, loose matches on Subject: below --
2001-03-27 9:01 Grahame Wright
2001-03-27 18:28 ` Charles S. Wilson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).