Migration Error TL 1.6.2 to TL 1.7.0 Final

The release related discussions, plans and questions.
Locked
klee
TestLink user
Posts: 11
Joined: Tue Feb 21, 2006 3:55 pm

Migration Error TL 1.6.2 to TL 1.7.0 Final

Post by klee »

Hi there,

I've successfully installed TL 1.7.0. However, for the migration procedure I'm getting the following error:

TestLink 1.7 beta Installation - Migration from 1.6.2

Connecting to Testlink 1.6 (source) database. - testlink - OK!
Connecting to Testlink 1.7 (target) database. - testlink_17 - OK!

Fatal error: mysql error: [1146: Table 'testlink.user' doesn't exist] in EXECUTE("SELECT * FROM user") in W:\www\testlink_170\third_party\adodb\adodb-errorhandler.inc.php on line 77

Any help appreciated. Thanks.
klee
TestLink user
Posts: 11
Joined: Tue Feb 21, 2006 3:55 pm

Post by klee »

Made modification to file Migrator.php:
Before: $sql="SELECT * FROM user";
Present: $sql="SELECT * FROM users";

And now, I'm getting the following:

creating temporary table for good testcases

Fatal error: mysql error: [1146: Table 'testlink.mgtproduct' doesn't exist] in EXECUTE("CREATE TEMPORARY TABLE tc_tmp_table SELECT mtc.*, mc.prodid FROM mgtproduct mp, mgtcomponent mc, mgtcategory mk,mgttestcase mtc WHERE mc.prodid=mp.id AND mk.compid=mc.id AND mtc.catid=mk.id ORDER BY mtc.id") in W:\www\testlink_170\third_party\adodb\adodb-errorhandler.inc.php on line 77
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

Issue 0001053 was created for this topic and will be fixed in the next release. Thanks for the finding.
Denis Zvezdov
TestLink user
Posts: 8
Joined: Mon Sep 10, 2007 1:58 pm

Re: Migration Error TL 1.6.2 to TL 1.7.0 Final

Post by Denis Zvezdov »

You tried to migrate from testlink 1.7 db version, not 1.6.2.
just modify config_db.inc.php and set your previous database name. You don't need to migrate.
Locked