Modify ↓
Opened 15 years ago
Closed 15 years ago
#5933 closed defect (fixed)
sqlite2mysql script problem
Reported by: | 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
comment:2 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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.