Opened 9 years ago

Closed 8 years ago

#5933 closed defect (fixed)

sqlite2mysql script problem

Reported by: linuz78@… Owned by: takayama
Priority: highest Component: SqliteToMySqlScript
Severity: critical Keywords:
Cc: Trac Release: 0.11



I am getting following error when tried to use the above script to conver sqlite db to mysql for trac.

python sqlite2mysql -h Traceback (most recent call last):

File "sqlite2mysql", line 36, in <module>

from MySQLdb import ProgrammingError

ImportError: No module named MySQLdb

Plz help me for the same

Attachments (0)

Change History (2)

comment:1 Changed 9 years ago by anonymous

You need to install the mysql library in python for that import to work, in ubuntu the package is named python-mysqldb. If you are on another os, find out how to install libraries into python.

comment:2 Changed 8 years ago by anonymous

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain takayama.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.