|
|
||||||
|
#1
|
|
|
|
|
Hi, how does properly install the Python MySQL db module for Mac OS
X? I was only able to locate the Win32 modules. Thanks in advance, -Conrad |
|
|
|
#2
|
|
|
|
|
On May 13, 7:29 pm, Con <conra> wrote:
> Hi, how does properly install the Python MySQL db module for Mac OS > X? I was only able to locate the Win32 modules. > > Thanks in advance, > > -Conrad I think the easiest way to would be to use macports. |
|
#3
|
|
|
|
|
On May 13, 7:29 pm, Con <conra> wrote:
> Hi, how does properly install the Python MySQL db module for Mac OS > X? I was only able to locate the Win32 modules. > > Thanks in advance, > > -Conrad I tried this a couple of weeks ago using macports and had problems. See, for example: http://www.davidcramer.net/code/57/m...n-leopard.html I read about several people who went in and edited the source files to work out the bugs on Leopard, but instead I just changed my Python code to use SQLite for the moment until someone fixes MySQLdb. There's a nice Perl script that will convert your MySQL db to an SQLite db if you're interested. RD |
|
#4
|
|
|
|
|
On May 14, 10:58 am, Rick Dooling <rpdool> wrote:
> On May 13, 7:29 pm, Con <conra> wrote: >> > > I tried this a couple of weeks ago using macports and had problems. > > See, for example: > > [..] > > I read about several people who went in and edited the source files to > work out the bugs on Leopard, but instead I just changed my Python > code to use SQLite for the moment until someone fixes MySQLdb. There's > a nice Perl script that will convert your MySQL db to an SQLite db if > you're interested. > > RD Because Python executable on Leopard has been stripped of 64 bit architectures and thus runs as a 32 bit process, the 64 bit problems only come up when trying to use the MySQLdb module under mod_wsgi or mod_python with Apache (presuming you got mod_python to build as 64 bit). If you are really stuck and can't get MySQLdb module to build as 64 bit capable, then you can force Apache to run as a 32 bit process and avoid the problems. For more details, see section 'Thinning The Apache Executable' of: http://code.google.com/p/modwsgi/wik...lationOnMacOSX Also see contributed comments to the page, which explains a way of making Apache run as 32 bit by changing plist files rather than thinning the Apache executable. Graham |
|
#5
|
|
|
|
|
search, search, it is a recurrent question....
for example http://groups.google.be/group/comp.l...7 c2dd7a50bef |
|
|
| Similar Threads | |
| Thread | Thread Starter |
| python module for data comparison of 2 MySQL servers I have 2 MySQL servers in 2 different data centers. Between them, there is data replication setup. Is there a python tool so I can do data comparison for daily... |
none |
| Looking for a pure python Mysql module Does anyone know of a package that can connect and query a mysql server that is platform independent and does not need to compile any extra c modules (IE a pure python... |
Carl |
| MySQL-python-1.2.2 install with no mysql Hello, I need to install the MySQL-python-1.2.2 connector in order to access a db on another machine. In the install it asks for the location of the mysql_config file, and... |
washakie |
| Seeking Python->mySQL OR module Hi, I'm looking for an object-relational layer, which can wrap a MySQL database into highly pythonic objects. There seem to be dozens of packages which provide some of... |
aum |
| "Pure Python" MySQL module like Net::MySQL Hi, I did some googling, and found that there doesn't seem to be a pure python MySQL communication module. There is one for perl however, Net::MySQL. I was wondering if... |
Ravi |
|
Privacy Policy | All times are GMT. The time now is 04:56 PM.
|
|
|