Attachment problem:DB migration from windows to linux

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
bestrick
TestLink user
Posts: 5
Joined: Fri Feb 11, 2011 2:13 am

Attachment problem:DB migration from windows to linux

Post by bestrick »

I am trying to migrate testlink from windows to linux.I simply exported database form previous database in windows,and the imported database in linux,and then I copyed testlink directory from windows to linux.Everything seems ok except the attachement.I can not download attachment from the new testlink,although I copyed the attachment from previous to [testlink]/upload_area.Please help me how to migrate attachment! :cry: Thanks!
bestrick
TestLink user
Posts: 5
Joined: Fri Feb 11, 2011 2:13 am

Re: Attachment problem:DB migration from windows to linux

Post by bestrick »

The version is 1.8.5!
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Attachment problem:DB migration from windows to linux

Post by fman »

near impossible to help if no details about what error you got
bestrick
TestLink user
Posts: 5
Joined: Fri Feb 11, 2011 2:13 am

Re: Attachment problem:DB migration from windows to linux

Post by bestrick »

bestrick wrote:I am trying to migrate testlink from windows to linux.I simply exported database form previous database in windows,and the imported database in linux,and then I copyed testlink directory from windows to linux.Everything seems ok except the attachement.I can not download attachment from the new testlink,although I copyed the attachment from previous to [testlink]/upload_area.Please help me how to migrate attachment! :cry: Thanks!
OK~here are some detail information,thank you for your reply!In fact,I simply want to know how to config the path of attachment directory.
I am trying to migrate testlink from windows to linux:
1.I install testlink in linux,and I can use it very well,the database is mysql5.0

2.I export database from mysql in windows:
mysqldump -u root -p testlink185 >d:\savsql.sql

3.Then I import database in linux:
source /var/www/savsql.sql

3.I copy testlink directory from windows to linux.I can visit testlink in linux and everything is ok,except when I want to download attachment,I can not find attchment.The error is:

Downloading attachment
Error: Attachment not found!
Post Reply