I'm about to do some MySQL work with Python. In the Python Cookbook book
they talk about the MySQLdb module. Is that still the way to go or is there
something better (easier, newer, etc.)?
Thanks.
--
Robert 3 1285
Hi Robert,
If you visit the MySQL website, they list MySQLdb as the primary api for
connecting to a MySQL database. http://dev.mysql.com/downloads/python.html
Byron
---
Robert Oschler wrote: I'm about to do some MySQL work with Python. In the Python Cookbook book they talk about the MySQLdb module. Is that still the way to go or is there something better (easier, newer, etc.)?
Thanks.
Robert Oschler wrote: I'm about to do some MySQL work with Python. In the Python Cookbook book they talk about the MySQLdb module. Is that still the way to go or is there something better (easier, newer, etc.)?
MySQLdb is the way to go.
-- Gerhard
"Robert Oschler" <no_replies@fake_email_address.invalid> wrote in message
news:1D*******************@bignews1.bellsouth.net. .. I'm about to do some MySQL work with Python. In the Python Cookbook book they talk about the MySQLdb module. Is that still the way to go or is
there something better (easier, newer, etc.)?
Thanks.
-- Robert
I've used it and have had great success w/ it....Jet
--
=============== From the desk of Jethro Wright, III ================
+ If it's there, and you can see it, it's real. +
+ If it's not there, and you can see it, it's virtual. +
+ If it's there, and you can't see it, it's transparent. +
+ If it's not there, and you can't see it, you erased it. +
=== jetman516 'at' hotmail.com ========================== Anon === This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dave Harrison |
last post by:
Hi all, got a problem combinging mx and MySQLdb, when I build and install both for my Python2.1 install on a Solaris 9 box I can import mx fine, but importing MySQLdb causing python to core dump.
...
|
by: Peter Nikolaidis |
last post by:
Greetings,
I am attempting to get MySQLdb 0.9.2 installed on Mac OS 10.2 with a
Fink distribution of Python 2.2.2. I have seen only a few posts on the
subject, some of them relate to...
|
by: Tim Williams |
last post by:
I'm trying to write a simple python program to access a MySQL
database. I'm having a problem with using MySQLdb to get the results
of a SQL command in a cursor. Sometimes the cursor.execute works,...
|
by: Daniel Baggott |
last post by:
Hi,
I'm seeking assistance in troubleshooting connecting to MySQL (4.0.20)
using Python (2.3.4) and MySQLdb (1.0.0). When I attempt to make a
connection, I get the following exception:...
|
by: ws Wang |
last post by:
MySQLdb is working fine at command line, however when I tried to use
it with mod_python, it give me a "server not initialized" error.
This is working fine:
----------------------- testmy.py...
| |
by: fedor |
last post by:
Hi all,
I have a problem with mysql connections. After about 28000-29000
connections, I get a "Can't connect to MySQL server on '127.0.0.1'" error.
I have made a small program which generates...
|
by: Steve |
last post by:
Darwin steve.local 8.3.0 Darwin Kernel Version 8.3.0: Mon Oct 3
20:04:04 PDT 2005; root:xnu-792.6.22.obj~2/RELEASE_PPC Power Macintosh
powerpc
MacOSX 10.4.3
mysql Ver 14.7 Distrib 4.1.14, for...
|
by: Yi Xing |
last post by:
Hi,
I met the following error when I tried to install MySQLdb. I had no
problem installing numarray, Numeric, Rpy, etc. Does anyone know
what's the problem? Thanks!
running install
running...
|
by: Nikhil |
last post by:
I am using the MySQLdb python module. I have a table named 'testing'
with few columns, under the 'test' database, what is hosted on a remote
mysql server.
I want to run the following query to...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |