MySQLdb will only import for root

2008-07-11 Thread martinnorth
Hi, I am running Python and MySQL on Ubuntu and have installed MySQLdb. If I try to import MySQLdb I get the following error: ActivePython 2.5.2.2 (ActiveState Software Inc.) based on Python 2.5.2 (r252:60911, Mar 27 2008, 16:42:08) [GCC 3.3.1 (SuSE Linux)] on linux2 Type "help", "copyright",

Re: MySQLdb will only import for root

2008-07-11 Thread martinnorth
Diez B. Roggisch wrote: martinnorth schrieb: Hi, I am running Python and MySQL on Ubuntu and have installed MySQLdb. If I try to import MySQLdb I get the following error: ActivePython 2.5.2.2 (ActiveState Software Inc.) based on Python 2.5.2 (r252:60911, Mar 27 2008, 16:42:08) [GCC 3.3.1

Re: MySQLdb will only import for root

2008-07-12 Thread martinnorth
Peter Otten wrote: martinnorth wrote: Hi, I am running Python and MySQL on Ubuntu and have installed MySQLdb. If I try to import MySQLdb I get the following error: ActivePython 2.5.2.2 (ActiveState Software Inc.) based on Python 2.5.2 (r252:60911, Mar 27 2008, 16:42:08) [GCC 3.3.1 (SuSE