Re: install MySQL-python failed ....

2018-04-05 Thread INADA Naoki
https://stackoverflow.com/questions/11107155/how-to-fix-address-space-is-already-occupied-error-on-fetch-commit On Fri, Apr 6, 2018 at 8:12 AM, yi zhao wrote: > $ python -m pip install MySQL-python > Collecting MySQL-python > Downloading MySQL-python-1.2.5.zip (108kB)

Re: install MySQL-python failed ....

2018-04-05 Thread Larry Martell
On Thu, Apr 5, 2018 at 7:12 PM, yi zhao wrote: > $ python -m pip install MySQL-python > Collecting MySQL-python > Downloading MySQL-python-1.2.5.zip (108kB) > 100% || 112kB 260kB/s > 930 [main] python2.7 12948 child_info_fork::abort: addre

install MySQL-python failed ....

2018-04-05 Thread yi zhao
$ python -m pip install MySQL-python Collecting MySQL-python Downloading MySQL-python-1.2.5.zip (108kB) 100% || 112kB 260kB/s 930 [main] python2.7 12948 child_info_fork::abort: address space needed by 'datetime.dll' (0x87) is alread

Re: MySQL, Python, NumPy and formatted read

2010-05-26 Thread John Nagle
Ian Hoffman wrote: Hello, I'm having significant Python difficulties (and I'm new to Python). I'm trying to read BLOB ASCII (numerical) data from a MySQL database using MySQLdb in a formatted fashion. The BLOB data is a sequence of numbers separated by newlines (\n), like this: 5 6 10 45 etc.

Re: MySQL, Python, NumPy and formatted read

2010-05-24 Thread Ian Hoffman
On May 24, 2:11 am, Dennis Lee Bieber wrote: > On Sun, 23 May 2010 21:44:30 -0700 (PDT), Ian Hoffman > declaimed the following in gmane.comp.python.general: > > > The problem is the tuple is contained in a single value separated by > > newlines (only a[0] has a record), otherwise I could do as yo

Re: MySQL, Python, NumPy and formatted read

2010-05-23 Thread Ian Hoffman
On May 23, 6:54 pm, Matteo Landi wrote: > I know anything about mysqldb and fetchone method, but it's easy to > create a numpy array, given a tuple of data: > > > > >>> import numpy > > >>> t = ('1', '2', '3') > >>> numpy.array(t, int) > array([1, 2, 3]) > > I made the assumption that mysqldb.fetc

Re: MySQL, Python, NumPy and formatted read

2010-05-23 Thread Matteo Landi
I know anything about mysqldb and fetchone method, but it's easy to create a numpy array, given a tuple of data: >>> import numpy >>> >>> t = ('1', '2', '3') >>> numpy.array(t, int) array([1, 2, 3]) >>> I made the assumption that mysqldb.fetchone return a tuple of strings, so we need to create an

MySQL, Python, NumPy and formatted read

2010-05-23 Thread Ian Hoffman
Hello, I'm having significant Python difficulties (and I'm new to Python). I'm trying to read BLOB ASCII (numerical) data from a MySQL database using MySQLdb in a formatted fashion. The BLOB data is a sequence of numbers separated by newlines (\n), like this: 5 6 10 45 etc. When I read the data

a question on building MySQL-python

2010-02-19 Thread George Trojan
During installation of MySQL-python-1.2.3c1 I encountered the following error: $ python2.6 setup.py build running build running build_py copying MySQLdb/release.py -> build/lib.linux-x86_64-2.6/MySQLdb running build_ext building '_mysql' extension creating build/temp.linux-x

Re: Building mySQL-python with python 2.6

2009-05-28 Thread Gabriel Genellina
On 28 mayo, 02:16, abolotnov wrote: > say I obtain and install "an alternative" compiler. how do I tell > python which one to use? VS2008 Express Edition is available for free from the Microsoft site. -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list

Re: Building mySQL-python with python 2.6

2009-05-27 Thread Christian Heimes
abolotnov wrote: > say I obtain and install "an alternative" compiler. how do I tell > python which one to use? > > I am sorry for asking dumb questions. Can't find the answers in the > docs/mans. http://docs.python.org/install/index.html#gnu-c-cygwin-mingw Christian -- http://mail.python.org/

Re: Building mySQL-python with python 2.6

2009-05-27 Thread abolotnov
> You might be able to use mingw32 as well. say I obtain and install "an alternative" compiler. how do I tell python which one to use? I am sorry for asking dumb questions. Can't find the answers in the docs/mans. -- http://mail.python.org/mailman/listinfo/python-list

Re: Building mySQL-python with python 2.6

2009-05-27 Thread Scott David Daniels
Christian Heimes wrote: abolotnov schrieb: Hi, I am trying to build mySQL-python with python 2.6 on windows and can't figure what's wrong with it. ... You need Visual Studio 2008. Other versions of VS aren't supported by Python 2.6. You might be able to use mingw32 as well.

Re: Building mySQL-python with python 2.6

2009-05-27 Thread Christian Heimes
abolotnov schrieb: >> You need Visual Studio 2008. Other versions of VS aren't supported by >> Python 2.6. > > Aren't 2005, 2008+ versions all have same c compiler - it's just the > IDE versions that are different? There are important differences between the several versions of VC++. The most imp

Re: Building mySQL-python with python 2.6

2009-05-27 Thread abolotnov
> You need Visual Studio 2008. Other versions of VS aren't supported by > Python 2.6. Aren't 2005, 2008+ versions all have same c compiler - it's just the IDE versions that are different? -- http://mail.python.org/mailman/listinfo/python-list

Re: Building mySQL-python with python 2.6

2009-05-27 Thread Christian Heimes
abolotnov schrieb: > Hi, I am trying to build mySQL-python with python 2.6 on windows and > can't figure what's wrong with it. > > D:\temp\mysqlPyC\MySQL–python–1.2.3c1>python setup.py build > running build > running build_py > copying MySQLdb\release.py –>

Building mySQL-python with python 2.6

2009-05-27 Thread abolotnov
Hi, I am trying to build mySQL-python with python 2.6 on windows and can't figure what's wrong with it. D:\temp\mysqlPyC\MySQL–python–1.2.3c1>python setup.py build running build running build_py copying MySQLdb\release.py –> build\lib.win32–2.6\MySQLdb running build_ext

Re: easy_install with MySQL-python

2009-03-03 Thread Ske
Mike Driscoll wrote: > > On Mar 3, 7:44 am, Ske wrote: >> Let me apologise in advance if I’m missing something obvious, I’m still >> very >> new to this! >> >> I’m attempting to install MySQL-python in Python2.6 on Windows. On >> running >>

Re: easy_install with MySQL-python

2009-03-03 Thread Mike Driscoll
On Mar 3, 7:44 am, Ske wrote: > Let me apologise in advance if I’m missing something obvious, I’m still very > new to this! > > I’m attempting to install MySQL-python in Python2.6 on Windows. On running > "easy_install MySQL-python" I get a "The system cannot find

easy_install with MySQL-python

2009-03-03 Thread Ske
Let me apologise in advance if I’m missing something obvious, I’m still very new to this! I’m attempting to install MySQL-python in Python2.6 on Windows. On running "easy_install MySQL-python" I get a "The system cannot find the file specified" message. Full output is below:

Re: MySQL-python-1.2.2 install with no mysql

2008-01-15 Thread washakie
Thank you... after: %yum install mysql* I was able to build and install mysql-python -- View this message in context: http://www.nabble.com/MySQL-python-1.2.2-install-with-no-mysql-tp14836669p14845579.html Sent from the Python - python-list mailing list archive at Nabble.com. -- http

Re: MySQL-python-1.2.2 install with no mysql

2008-01-15 Thread Jarek Zgoda
washakie napisał(a): > Okay, I've installed mysql then using yum... it installed the same version > running on another machine with identical python where all works well... but > now I get this error during build... thoughts?!?? mysql_config is there, and > the site.cfg file is pointing correctly t

Re: MySQL-python-1.2.2 install with no mysql

2008-01-15 Thread washakie
tObject_memberlist[0].offset’) _mysql.c: In function ‘_mysql_ConnectionObject_getattr’: _mysql.c:2442: error: ‘_mysql_ConnectionObject’ has no member named ‘open’ error: command 'gcc' failed with exit status 1 [root@ MySQL-python-1.2.2]# Jarek Zgoda wrote: > > >>

Re: MySQL-python-1.2.2 install with no mysql

2008-01-15 Thread Jarek Zgoda
washakie napisał(a): > 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 if I leave it as the default I get: > > [EMAIL PROTECTED] MySQL-python-1.2.2]# python

MySQL-python-1.2.2 install with no mysql

2008-01-15 Thread washakie
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 if I leave it as the default I get: [EMAIL PROTECTED] MySQL-python-1.2.2]# python setup.py build sh: mysql_config: command

Re: MySQL-python Error

2007-12-30 Thread godavemon
Good luck! On Dec 23, 3:09 pm, Steve Ametjan <[EMAIL PROTECTED]> wrote: > I've been trying to get MySQL-python to install on Leopard for the > past couple of days, and I keep running into relatively the same > error. I'm hoping that someone on this list will be able to help

CGI, MySQL & Python

2007-12-29 Thread CS
I'm new to programming and I'm trying to find some answers. I wrote a few python cgi scripts for my website all of which access a mysql db on 'localhost'. My question is, Is it a bad idea to have my username and password for my db coded in my script? Is there a better way to make sure that inf

MySQL-python Error

2007-12-23 Thread Steve Ametjan
I've been trying to get MySQL-python to install on Leopard for the past couple of days, and I keep running into relatively the same error. I'm hoping that someone on this list will be able to help me out in solving the issue. I'd like to get this solved so I can continue

Re: Weird gcc errors while installing "MySQL-python" module

2007-09-03 Thread Diez B. Roggisch
Jonas Schneider wrote: > Hi guys, > > I´m experiencing weird error messages while installing MySQL-python > with easy_install... I have no idea where the errors come from. > > Read the whole output at http://pastebin.com/m3859cf40 > It´s really a lot... > > Someo

Weird gcc errors while installing "MySQL-python" module

2007-09-02 Thread Jonas Schneider
Hi guys, I´m experiencing weird error messages while installing MySQL-python with easy_install... I have no idea where the errors come from. Read the whole output at http://pastebin.com/m3859cf40 It´s really a lot... Someone got ideas? Greets Jonas -- http://mail.python.org/mailman/listinfo

RE: MySQL -->Python-->XML for JSviz

2007-07-03 Thread Sells, Fred
point out many excellent xml modules. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Behalf Of Picio > Sent: Tuesday, July 03, 2007 10:08 AM > To: python-list@python.org > Subject: MySQL -->Python-->XML for JSviz > > >

MySQL -->Python-->XML for JSviz

2007-07-03 Thread Picio
Hello all, I need some advice to choose an xml generator for jsviz a tool in javascript to create some wonderful graphs (SnowFlake or Force directed). Starting from a SQL table (mysql) I need to create a XML file with a structure like this:

Re: MySQL-python-1.2.1_p2, Python 2.5 and OS X Tiger

2006-12-08 Thread scum
And I know about the precompiled binary... I'm just sick of getting this warning Python 2.5 (r25:51918, Sep 19 2006, 08:49:13) [GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import _mysql __main__:1: RuntimeWa

MySQL-python-1.2.1_p2, Python 2.5 and OS X Tiger

2006-12-08 Thread scum
How do you install MySQL-python-1.2.1_p2 on a PPC OS X 10.4 machine with MySQL 4.1? >>> python setup.py build ... ... _mysql.c:2854: error: parse error before ')' token _mysql.c:2854: error: called object '&' is not a function _mysql.c:2854: error: called obje

Re: help to install MySQL-python module

2006-06-07 Thread Tim Chase
>> error: invalid Python installation: unable to open >> /usr/local/lib/python2.3/config/Makefile (No such file or >> directory) > > Ernesto, Where did the install put Python - the obvious > situation is that the Makefile is not where the install of > MySQL-Pyt

Re: help to install MySQL-python module

2006-06-07 Thread Lou Losee
On 6/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Dear python users, > > I have an account on a Linux Cluster. I installed python version 2.3.5 on my > account. I need to install the module MySQL-python to interact with a MySQL > server already installed o

help to install MySQL-python module

2006-06-07 Thread ciccio
Dear python users, I have an account on a Linux Cluster. I installed python version 2.3.5 on my account. I need to install the module MySQL-python to interact with a MySQL server already installed on the cluster. However, I read the README file but running python setup.py build the system

Problem with installing MySQL-python-1.2.1_p2

2006-05-23 Thread Olivier Langlois
Hi, I have tried to install MySQL-python-1.2.1_p2 under Windows XP with Python 2.4.3 and I get some problems. 1- I get this warning when I run setup.py build: C:\tools\Python\lib\distutils\extension.py:133: UserWarning: Unknown Extension options: 'mysql_root' warnings.warn(msg)

Re: help with Linker dependencies missing went compiling mysql-python on Windows without VisualStudio

2006-05-10 Thread Jorge Vargas
wrong.libraries: mysqlclient zlib msvcrt libcmt wsock32 advapi32libs msvcrt libcmt seems to conflict with eachother and with MSVCR80.dll I have try using msvcrt and have /NODEFAULTLIB:libcrtC:\MySQL-python-1.2.1_p2.tar\MySQL-python-1.2.1_p2>"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\

help with Linker dependencies missing went compiling mysql-python on Windows without VisualStudio

2006-05-08 Thread Jorge Vargas
nflict with eachother and with MSVCR80.dll I have try using msvcrt and have /NODEFAULTLIB:libcrtC:\MySQL-python-1.2.1_p2.tar\MySQL-python-1.2.1_p2>"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\link.exe" /DLL /nologo /INCREMENTAL:NO /LIBPATH:C:\mysql\lib\opt /LIBPATH:c:\pytho

Re: MySql -Python question

2006-04-24 Thread Steve Holden
[EMAIL PROTECTED] wrote: > both of your suggestions don't work, that's kind of what I was trying > the whole time > Well it seems firly obvious that your universe is somehow broken. Please send it back to God in a plain wrapper and it will be replaced with a new universe in which all programming

Re: MySql -Python question

2006-04-24 Thread Frank Millman
[EMAIL PROTECTED] wrote: > both of your suggestions don't work, that's kind of what I was trying > the whole time I am sure you have read this before somewhere, but - 1. Tell us what you have tried so far 2. Tell us what you expected (or hoped) would happen 3. Tell us what actually h

Re: MySql -Python question

2006-04-24 Thread ataanis
both of your suggestions don't work, that's kind of what I was trying the whole time -- http://mail.python.org/mailman/listinfo/python-list

Re: MySql -Python question

2006-04-24 Thread Vladimir 'Yu' Stepanov
Dennis Lee Bieber wrote: > On 23 Apr 2006 21:25:48 -0700, [EMAIL PROTECTED] declaimed the following > in comp.lang.python: > > >> Hey all, I'm running a query within some python code, and I'm having >> difficulties doing something that seems to be really simple . I'm >> running a query in the fo

MySql -Python question

2006-04-23 Thread ataanis
Hey all, I'm running a query within some python code, and I'm having difficulties doing something that seems to be really simple . I'm running a query in the following form: query01 = 'select max(DirectorID) +1 from Director;' cursor.execute(query01) table = cursor.fetchall() the re

Re: MySql -python 1.2.1_p2 and visual c++ toolkit

2006-04-17 Thread simen . haugen
I tried mxODBC now, and it worked out of the box. Thanks for the tip! -- http://mail.python.org/mailman/listinfo/python-list

Re: MySql -python 1.2.1_p2 and visual c++ toolkit

2006-04-17 Thread BartlebyScrivener
I'm pretty new myself. But if you don't get anywhere using mysql-python, I can recommend mxODBC. I have connected to both MS Access DB and MySQL DB. You get it from: http://www.egenix.com/files/python/mxODBC.html But read the instructions carefully as I think there are two things

MySql -python 1.2.1_p2 and visual c++ toolkit

2006-04-17 Thread simen . haugen
Hi. I'm trying to use Python 2.4 with MySql 5.0, but I'm having installation problems. I've tried to follow the following articles to install mysql-python with the free visual c++ toolkit http://mail.python.org/pipermail/python-list/2004-December/255184.html http://www.vrplumber.

Re: Issues installing MySQL-python-0.3.5

2006-02-14 Thread Gerhard Häring
s to function > ‘mysql_shutdown’ > *** > Should I just give up on MySQL-python-0.3.5 ? [...] This release is almost 5 years old. Where did you dig it out from? ;-) http://dustman.net/andy/python/MySQLdb_obsolete/0.3.5 """ MySQLdb module 0.3.5 OBSOLETE Python Interface to

Issues installing MySQL-python-0.3.5

2006-02-13 Thread keith
python, but I can't seem to fix the following error: *** _mysqlmodule.c: In function ‘_mysql_ConnectionObject_shutdown’: _mysqlmodule.c:1019: error: too few arguments to function ‘mysql_shutdown’ *** Should I just give up on MySQL-python-0.3.5 ? Is there a more up to date API I should install for

Re: MySQL & Python

2005-09-20 Thread Steve Holden
Ed Hotchkiss wrote: > Just migrating now from ASP/to MySQL and Python. > > I am trying to create a simple script to access a MySQL DB. > The Module for MySQL looks very easy, however I do not understand one > thing ... > > In ASP, you can just create a new DB with Access. In MySQL, how do I >

Re: MySQL & Python

2005-09-15 Thread Peter Decker
On 9/15/05, Ed Hotchkiss <[EMAIL PROTECTED]> wrote: > I am trying to create a simple script to access a MySQL DB. > The Module for MySQL looks very easy, however I do not understand one thing > ... > > In ASP, you can just create a new DB with Access. In MySQL, how do I create > a database to

Re: MySQL & Python

2005-09-15 Thread Jaime Wyant
Connect to the database as root. create database databasename; Now grant priveleges accordingly: grant all on databasename to super_user; (I may have the grant syntax screwed up, but you get the idea.) jw On 9/15/05, Ed Hotchkiss <[EMAIL PROTECTED]> wrote: > Just migrating now from ASP/to My

MySQL & Python

2005-09-15 Thread Ed Hotchkiss
Just migrating now from ASP/to MySQL and Python.   I am trying to create a simple script to access a MySQL DB. The Module for MySQL looks very easy, however I do not understand one thing ...   In ASP, you can just create a new DB with Access. In MySQL, how do I create a database to start playing w

Re: Installing MySQL-Python

2005-06-22 Thread Cathy Hui
but the gcc was installed on this system tho: gcc -v Reading specs from /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/specs Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls Thread model: posix gcc version 3.4.2 -- http://mail.python.o

Re: Installing MySQL-Python

2005-06-22 Thread kai festersen
Cathy Hui wrote: > Do u know why do i get the following message error: command 'gcc' failed with exit status 1 yes: error: command 'gcc' failed with exit status 1 means: there's no compiler gcc ... kai when trying to build the > MySql-Python (1.2.0) on my

Re: Install MySQL-python-0.9.1

2005-06-21 Thread Cathy Hui
Thanks, now I am trying with Mysql-python-1.2.0. There is an other issue I am encoutering when trying to build, do u know why? (please see below) === ld: fatal: relocations remain against allocatable but non-writable sections collect2: ld returned 1

Installing MySQL-Python

2005-06-21 Thread Cathy Hui
Do u know why do i get the following message when trying to build the MySql-Python (1.2.0) on my Solaris 8 system? (with mysql 4.0.21 and python 2.4). thanks! error mesg: ld: fatal: relocations remain against allocatable but non-writable sections collect2: ld returned 1 exit status error

Re: Install MySQL-python-0.9.1

2005-06-21 Thread Andy Dustman
Cathy Hui wrote: > I am trying to install MySQL-Python 0.9.1 on my Solaris 8 system. The > system has Python 2.3.3 and Mysql 4.0.21 installed. You're wasting your time. Use MySQL-python-1.2.0. -- http://mail.python.org/mailman/listinfo/python-list

Install MySQL-python-0.9.1

2005-06-20 Thread Cathy Hui
I am trying to install MySQL-Python 0.9.1 on my Solaris 8 system. The system has Python 2.3.3 and Mysql 4.0.21 installed. This is where I downloaded the distribution of the Mysql-python package: http://www.ravenbrook.com/project/p4dti/import/2001-10-16/MySQL-python-0.9.1/MySQL-python-0.9.1

Re: "/usr/bin/ld: cannot find -lmysqlclient" when building MySQL-Python

2005-05-12 Thread Andy Dustman
[EMAIL PROTECTED] wrote: > Hi. I'm trying to build MySQL-python-1.2.0 on my Linux FC2 > (with MySQL 3.23.58). See: https://sourceforge.net/tracker/index.php?func=detail&aid=1146226&group_id=22307&atid=374932 And also try the new 1.2.1c3 release candidate. -- http://

"/usr/bin/ld: cannot find -lmysqlclient" when building MySQL-Python

2005-05-11 Thread francescomoi
Hi. I'm trying to build MySQL-python-1.2.0 on my Linux FC2 (with MySQL 3.23.58). But when building, I get this error message: --- []# python setup.py build running build running build_py running build_ext building '_mysql' ext

Re: "mysql.h: No such file or directory" when building MySQL-python

2005-05-11 Thread francescomoi
-- Any suggestion?. Regards Andy Dustman wrote: > [EMAIL PROTECTED] wrote: > > > I'm trying to build 'MySQL-python-1.2.0' on my Linux FC2: > ... > > gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -march=i386 > > -mcpu=i686 -D_GNU_SOURC

Re: "mysql.h: No such file or directory" when building MySQL-python

2005-04-28 Thread Andy Dustman
[EMAIL PROTECTED] wrote: > I'm trying to build 'MySQL-python-1.2.0' on my Linux FC2: ... > gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -march=i386 > -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -I/usr/include/python2.3 -c > _mysql.c -o build/temp.linux-i686-2.3/_my

"mysql.h: No such file or directory" when building MySQL-python

2005-04-27 Thread francescomoi
Hi. I'm trying to build 'MySQL-python-1.2.0' on my Linux FC2: -- [ ]# export PATH=$PATH:/usr/local/mysql/bin/ [ ]# export mysqlclient=mysqlclient_r [ ]# python setup.py clean [ ]# python setup.py build running build running build_py running bui

Re: Trouble with mysql-python 1.2.0 on Solaris 8 sparc

2005-03-08 Thread Alec Wysoker
It seems unlikely that is the problem, since I can connect from the client machine to server using JDBC, just not using mySQL client (any by extension) mysql-python. -- http://mail.python.org/mailman/listinfo/python-list

Re: Trouble with mysql-python 1.2.0 on Solaris 8 sparc

2005-02-25 Thread Andy Dustman
What happens when you try to connect? Be sure to check /etc/hosts.allow and .deny on the server, if your server is compiled with TCP wrapper support. -- http://mail.python.org/mailman/listinfo/python-list

Re: Trouble with mysql-python 1.2.0 on Solaris 8 sparc

2005-02-24 Thread Alec Wysoker
Do you mean the python glue code? I am having this problem when python is not in the picture at all, just running mysql command-line client. Presumably my client is 4.1.10, as it came in a built package along with the 4.1.10 server. In fact, the following seems to indicate that it is the righ

Re: Trouble with mysql-python 1.2.0 on Solaris 8 sparc

2005-02-24 Thread Steve Holden
Alec Wysoker wrote: Hi Steve, Thanks for the response. I don't think this is the problem. When I connect to the remote machine, it says this: Your MySQL connection id is 58 to server version: 4.1.0-alpha-standard When I connect to the local server, I get this: Your MySQL connection id is 6 to se

Re: Trouble with mysql-python 1.2.0 on Solaris 8 sparc

2005-02-24 Thread Steve Holden
Alec Wysoker wrote: Hi Andy, Thanks for your message. It turned out that I had installed 64-bit mySql on a 32-bit machine. I'm amazed it worked at all. Anyway, I finally got mysql-python built, but I'm unable to connect to a machine on a remote host. The problem doesn't seem

Re: Trouble with mysql-python 1.2.0 on Solaris 8 sparc

2005-02-24 Thread Alec Wysoker
Hi Andy, Thanks for your message. It turned out that I had installed 64-bit mySql on a 32-bit machine. I'm amazed it worked at all. Anyway, I finally got mysql-python built, but I'm unable to connect to a machine on a remote host. The problem doesn't seem to be with the pytho

Re: Trouble with mysql-python 1.2.0 on Solaris 8 sparc

2005-02-20 Thread Andy Dustman
Did you build your own MySQL, or did you use a pre-built version? And what version? It's not clear if you're using 4.0 or 4.1. If mysql_config is returning the wrong flags, then that's a bug with MySQL. You should be able to work around this by doing this in setup.py before the call to setup(): e

Re: Trouble with mysql-python 1.2.0 on Solaris 8 sparc

2005-02-18 Thread Michael Hoffman
Alec Wysoker wrote: I need to be able to access mySQL 4.0 and 4.1 databases from python. I was hoping to find mysql-python 1.2.0 already built for Sparc, but no such luck. Try version 1.0.1. -- Michael Hoffman -- http://mail.python.org/mailman/listinfo/python-list

Trouble with mysql-python 1.2.0 on Solaris 8 sparc

2005-02-18 Thread Alec Wysoker
I need to be able to access mySQL 4.0 and 4.1 databases from python. I was hoping to find mysql-python 1.2.0 already built for Sparc, but no such luck. I've been struggling trying to get it build. First, I had to hack setup.py because mysql_config --cflags was returning -m64, which wasn&#x

Re: An mysql-python tutorial?

2005-01-30 Thread Andy Dustman
It definitely looks like an access control problem; recheck your grants. -- http://mail.python.org/mailman/listinfo/python-list

Re: An mysql-python tutorial?

2005-01-29 Thread Dfenestr8
On Sat, 29 Jan 2005 06:41:37 +, Kartic wrote: [snip] > And here is one more site, good stuff here too:- > http://www.kitebird.com/articles/pydbapi.html > Hi. I followed the instructions there, tried out the test script they recommend. Can you tell me why this command, in the python interp

Re: An mysql-python tutorial?

2005-01-29 Thread Andy Dustman
It's a pretty good tutorial, thought I would recommend you forget about the fetchone() example. The example below demonstrates three additional features that will make your life easier: MySQL option files, tuple unpacking, and cursors as iterators (fourth feature: the default host is localhost; thi

Re: An mysql-python tutorial?

2005-01-29 Thread EuGeNe
Dfenestr8 wrote: Hi. Been told by the admin of my (free!) server that he'd rather I should learn to use mysql if I want to continue writing cgi scripts there. Not even sure exactly what mysql is. Is there a simple tutorial anywhere on the web about using python + mysql? http://www.devshed.com/c/a

Re: An mysql-python tutorial?

2005-01-28 Thread Kartic
ython + mysql? Did you try googling? There are two items in the very first page that should be of use to you. One is the Python-MySQL module, which you should have installed. http://sourceforge.net/projects/mysql-python There is an examples directory that has some concrete stuff to help you

An mysql-python tutorial?

2005-01-28 Thread Dfenestr8
Hi. Been told by the admin of my (free!) server that he'd rather I should learn to use mysql if I want to continue writing cgi scripts there. Not even sure exactly what mysql is. Is there a simple tutorial anywhere on the web about using python + mysql? -- http://mail.python.org/mailman/listi

Re: new comp.lang.python mirror at lampfroums.org--any Linux, Apache, MYSQL, Python Apps?

2004-12-09 Thread astro
Thanks for the feedback. I linked to Oreilly's onlamp.com article at: http://lampforums.org/forumdisplay.php?f=36 What is LAMP? LAMP is an acronym for Linux, Apache, MYSQL/Postgres, and PHP/Perl/Python/Ruby. These open-source efforts offer ever-increasing power and versatility. In 2001, Dal

Re: new comp.lang.python mirror at lampfroums.org--any Linux, Apache, MYSQL, Python Apps?

2004-12-09 Thread Fredrik Lundh
Terry Reedy wrote: > Whereas this is my second or third exposure, with the first that made an > impression coming earlier > this year. A list of those books might help some people, and would establish > that LAMP is an > established concept. the LAMP concept has been pushed by O'Reilly and o

Re: new comp.lang.python mirror at lampfroums.org--any Linux, Apache, MYSQL, Python Apps?

2004-12-08 Thread Terry Reedy
"astro" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > The top of the page at http://lampforums.org has a few places where LAMP > is spelled out as Linux, Apache, MYSQL, and PHP/Perl/Python. Once I understood that that is what you are doing, it became obvious that that is what

Re: new comp.lang.python mirror at lampfroums.org--any Linux, Apache, MYSQL, Python Apps?

2004-12-08 Thread astro
The top of the page at http://lampforums.org has a few places where LAMP is spelled out as Linux, Apache, MYSQL, and PHP/Perl/Python. I could make it more clear, I suppose--any suggestions as to how to word it would be great! The LAMP acronym has been around for awhile--I think there are even a

Re: new comp.lang.python mirror at lampfroums.org--any Linux, Apache, MYSQL, Python Apps?

2004-12-08 Thread Terry Reedy
"astro" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hello all, > We have set up new linux, apache, mysql, python, perl, and php forums > at http://lampforums.org . Perhaps you could say at the top of that page what LAMP means. My guess: Linux-A

new comp.lang.python mirror at lampfroums.org--any Linux, Apache, MYSQL, Python Apps?

2004-12-08 Thread astro
Hello all, We have set up new linux, apache, mysql, python, perl, and php forums at http://lampforums.org . comp.lang.python is at: http://lampforums.org/forumdisplay.php?f=18 The interface allows your posts to appear immediately on the forums, and also to private message other users. Your

Re: MySQL-python-1.0.0.win32-...

2004-12-06 Thread Michel Claveau - abstraction méta-galactique non triviale en fuite perpétuelle.
+1 -- http://mail.python.org/mailman/listinfo/python-list

MySQL-python-1.0.0.win32-...

2004-12-06 Thread Henning Hanusa
Could anybody please provide me with a "compiled" version of the above (MySQLdb 1.0.0 for Python on Win 2000 / XP) for Python version 2.4, as I do not have any possibility of compiling?? Many thanks in advance Henning -- http://mail.python.org/mailman/listinfo/python-list