I have a working dual-python environment -- cygwin with its python and a .pth fie that points to the Windows installed python site-packages. Everything worked pretty well, up until the point I attempted to get MySQLDB imported into the cygwin environment and it complained it couldn't find the _mysql dependency. Of course, it worked in Windows, and I think it is a _mysql.pyd file that is making it work in Windows.
I would be happy just getting it working in two places, in the cygwin environment as well as in the Windows environment (as oposed to getting one lib to work in both environments), however, I don't even see a setup file designed to work with cygwin.
How can I get one?
--Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Cygwin is POSIX, so the default setup will work, if you have the correct dependencies installed. It does not appear mysql.com has Cygwin packages so you would have to build MySQL yourself from sources.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Generally the source package has everything, so you don't really have an option there. You might be able to install only the client libraries and headers, but you'll probably have to build everything.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a working dual-python environment -- cygwin with its python and a .pth fie that points to the Windows installed python site-packages. Everything worked pretty well, up until the point I attempted to get MySQLDB imported into the cygwin environment and it complained it couldn't find the _mysql dependency. Of course, it worked in Windows, and I think it is a _mysql.pyd file that is making it work in Windows.
I would be happy just getting it working in two places, in the cygwin environment as well as in the Windows environment (as oposed to getting one lib to work in both environments), however, I don't even see a setup file designed to work with cygwin.
How can I get one?
--Thanks!
Cygwin is POSIX, so the default setup will work, if you have the correct dependencies installed. It does not appear mysql.com has Cygwin packages so you would have to build MySQL yourself from sources.
I don't wish to install the entire server to get it working. Is there a way to install only client libs? I couldn't find those sources on mysql.com...
Generally the source package has everything, so you don't really have an option there. You might be able to install only the client libraries and headers, but you'll probably have to build everything.
Thanks for the response. That wasn't what I wanted to hear, though. Oh well, guess I'm stuck in Windows for that task.
( ... and thanks for the response, btw! )