Opened 5 years ago

Closed 5 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 5 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 5 years ago by anonymous

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from takayama. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.