3 ms·
> MySQL roll out for our Python software is a complete pain Really? How so?
by lamby 17y ago
> MySQL roll out for our Python software is a complete pain
Really? How so?
- Goladus 17y agoJust taking a guess, but: mysql client must be installed on every machine mysql python bindings must be compiled and deployed on every machine. I imagine it's not uncommon among Python web apps for the mysql library to be the only thing that requires gcc to compile from source. Having a library entirely in python, for which you presumably already have a deployment process, would definitely simplify things.
- thwarted 17y agoDoes Gentoo really have this level of penetration? How did you get python on the machine in the first place? Any distribution worth using for LAMP already provides everything you need for a base install for this already compiled and packaged. Pure <your favorite language> implementations are useful from a portability, testing/verification, and avoiding vendor lock-in perspective, but the problem of "How do I get the libraries I need on all the machines" has long since been solved. In fact, using a packaging system like dpkg or rpm will make it easy to determine if you're missing anything, since they can list everything that is installed via packages.
- Goladus 17y agoThe last time I checked, Solaris blastwave didn't have a mysql database interface package for Python. I don't know what OS ErrantX is using. He claims that the package provided is unreliable.
- ErrantX 17y agoAs Goladus says it adds a whole list of pre-requisites and a compile stage when installing software. Windows isnt too bad because there is Windows binaries that do work ok. But on Linux the current offerings of MySQL in Python have always been a bit shaky.