Modify

Opened 15 years ago

Closed 15 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

Description

Hi

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

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain takayama.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.