Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
*solved*Can no longer use python mysqldb after mysql update
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Spoot100
n00b
n00b


Joined: 18 Mar 2004
Posts: 14
Location: Hell, also known as North Dakota

PostPosted: Sun Dec 14, 2008 12:22 am    Post subject: *solved*Can no longer use python mysqldb after mysql update Reply with quote

Ok, I was using mysql 4.0.x and upgraded to mysql 5.0.x which has broken my python mysql access. I've rebuilt python, mysql and mysql-python to no avail.

Whenever I run my python scripts it whines that it can't find the 4.0.x lib.

I'm out of ideas. :(


Last edited by Spoot100 on Thu Dec 18, 2008 1:16 am; edited 2 times in total
Back to top
View user's profile Send private message
pharoh
Tux's lil' helper
Tux's lil' helper


Joined: 20 Mar 2004
Posts: 91
Location: Minnesota

PostPosted: Wed Dec 17, 2008 5:25 pm    Post subject: Reply with quote

did you run the python updater after emerging python?
_________________
Linux user number 361815
Back to top
View user's profile Send private message
Spoot100
n00b
n00b


Joined: 18 Mar 2004
Posts: 14
Location: Hell, also known as North Dakota

PostPosted: Thu Dec 18, 2008 1:12 am    Post subject: Reply with quote

pharoh wrote:
did you run the python updater after emerging python?


Sure did.

However, I just discovered the issue a few minutes ago. In the python2.5/site-packages directory there was some "leftover" mysql files. I deleted all the mysql* and _my* files and re-emerged mysql-python and now it works.
Back to top
View user's profile Send private message
pharoh
Tux's lil' helper
Tux's lil' helper


Joined: 20 Mar 2004
Posts: 91
Location: Minnesota

PostPosted: Thu Dec 18, 2008 1:35 pm    Post subject: Reply with quote

great news! (Gentoo can sometimes be a pain but it is ALWAYS fixable)
_________________
Linux user number 361815
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum