473,324 Members | 2,400 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

MySQL Connectivity

Hi,

I've looked through the mailing list archives trying to find the best ways
of connecting to a MySQL database using Python. From what I've seen, people
seem to be using http://sourceforge.net/projects/mysql-python/. First of
all, is this the recommended method of connectivity? (I'm assuming it is).

If it is, I've experienced a problem here. I'd ideally like to have Python
2.3 installed with MySQLdb. Following the instructions on
http://sourceforge.net/forum/forum.p...forum_id=70461 I
tried to build an RPM that would work with Python 2.3. It appears to be
using rpm -ba to build. I can fix that, but it would indicate that the build
script is somewhat out of date (rpmbuild has been around for a long time
now). Are there any newer RPM's for this anywhere or any newer build
scripts? Is the testing version relatively stable? (although I havent
checked this is fixing the build problem yet)

Thanks,

Gareth Oakley
Jul 18 '05 #1
1 1467
Gaz Oakley wrote:
Hi,

I've looked through the mailing list archives trying to find the best ways
of connecting to a MySQL database using Python. From what I've seen, people
seem to be using http://sourceforge.net/projects/mysql-python/. First of
all, is this the recommended method of connectivity? (I'm assuming it is).

If it is, I've experienced a problem here. I'd ideally like to have Python
2.3 installed with MySQLdb. Following the instructions on
http://sourceforge.net/forum/forum.p...forum_id=70461 I
tried to build an RPM that would work with Python 2.3. It appears to be
using rpm -ba to build. I can fix that, but it would indicate that the build
script is somewhat out of date (rpmbuild has been around for a long time
now). Are there any newer RPM's for this anywhere or any newer build
scripts? Is the testing version relatively stable? (although I havent
checked this is fixing the build problem yet)

If all you want is to *install* the software, why not just run "python
setup.py install" instead of trying to create an RPM then install that?

regards
Steve
Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
by: John Wells | last post by:
Yes, I know you've seen the above subject before, so please be gentle with the flamethrowers. I'm preparing to enter a discussion with management at my company regarding going forward as either...
3
by: Darius | last post by:
Hello, there is an NMEAParserDemo application written in VC++ avaliable for download from http://www.visualgps.net/Papers/NMEAParser/NMEAParserDemo%20Project.zip. Source code in VC++ is...
5
by: linuxlover992000 | last post by:
I am a newbie in the world of MySQL. In fact I enabled it in my Linux box only because it is required to run WordPress (the blogging software). I was trying to plan ahead and figure out a way to...
13
by: Auddog | last post by:
I have installed php on my server and can get the phpinfo page to display. I have installed mysql 5 and I'm able to get into the database and create data. I would like to be able to get php to...
10
by: bill | last post by:
I have a database of kennels. One page lists the kennels alphabetically by kennel name. I have a field for kennel name and an index with kennel name as the only field. Some of the kennels have...
1
by: dipal | last post by:
I m totally new to php and mysql i got the following error connectivity error in mysql due to authentication protocol i have instaled mysql 4.1 and php 4.1 but still i get this error so can...
2
cpiyush
by: cpiyush | last post by:
Hello, I have query related to MySQL connectivity. When we make a connection with MySQL and we don't use this connection for some particular amount of time (I don't know what) it automatically...
1
by: swethak | last post by:
hi, when i run a java program for to store data and retrive using mysql datatabse i got the following errors.I think in that one of error is due to set the class path.I placed my...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.