By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,660 Members | 1,102 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,660 IT Pros & Developers. It's quick & easy.

MySQL Connectivity

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.