Kayako logo
SupportSuite, eSupport and LiveResponse Discussion, troubleshooting and feedback related to Kayako's flagship support desk products SupportSuite, eSupport and LiveResponse.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
christinasc Offline
Member
 
Posts: 69
Join Date: May 2006
Kayako DB import into blank DB error - SOLVED - 04-02-2007, 07:26 PM

I am trying to import a kayako database (exported from the admin panel) into a brand new blank database. I have done this before with the same database, so i know it works but now

I keep getting this error.


CREATE TABLE `swkbarticledata` (
`kbarticledataid` int( 10 ) unsigned NOT NULL AUTO_INCREMENT ,
`kbarticleid` int( 10 ) unsigned DEFAULT '0' NOT NULL ,
`contents` mediumtext NOT NULL ,
PRIMARY KEY ( `kbarticledataid` ) ,
KEY `kbarticledata1` ( `kbarticleid` ) ,
KEY `contents` ( `contents` )
)

MySQL said: Documentation
#1170 - BLOB column 'contents' used in key specification without a key length

Can anyone help me get past this? Many thanks.

Last edited by christinasc; 07-02-2007 at 12:09 AM.
   
Reply With Quote
  (#2) Old
Mahesh Slaria Offline
Member
 
Posts: 183
Join Date: Jul 2006
05-02-2007, 05:50 AM

Hi,

This issue is fixed in our latest CVS build. Please try to change "'contents' mediumtext NOT NULL," to "'contents' mediumtext". This will fix the issue.

Thanks.

Regards,
   
Reply With Quote
  (#3) Old
christinasc Offline
Member
 
Posts: 69
Join Date: May 2006
Solved - 07-02-2007, 12:08 AM

Actually what i did instead to fix this is i just did a phpmyadmin dump of the whole database and then uploaded it into my new blank db.

It appears to work very smoothly when it is done through phpmyadmin as an export and import.
   
Reply With Quote
  (#4) Old
mramos Offline
New Member
 
Posts: 1
Join Date: Feb 2007
13-02-2007, 11:14 PM

Hi which CVS build does this problem fix?

Thanks,

Marc

Quote:
Originally Posted by Mahesh Slaria
Hi,

This issue is fixed in our latest CVS build. Please try to change "'contents' mediumtext NOT NULL," to "'contents' mediumtext". This will fix the issue.

Thanks.

Regards,
   
Reply With Quote
  (#5) Old
mchandarana Offline
New Member
 
Posts: 2
Join Date: Oct 2008
31-10-2008, 08:20 PM

Hi,

I am getting the same error even though contents is mediumtext. It doesn't have NOT NULL.

CREATE TABLE `swkbarticledata` (
`kbarticledataid` int( 10 ) unsigned NOT NULL AUTO_INCREMENT ,
`kbarticleid` int( 10 ) unsigned DEFAULT '0' NOT NULL ,
`contents` mediumtext ,
PRIMARY KEY ( `kbarticledataid` ) ,
KEY `kbarticledata1` ( `kbarticleid` ) ,
KEY `contents` ( `contents` )
)
   
Reply With Quote
  (#6) Old
John Haugeland Offline
Developer
 
John Haugeland's Avatar
 
Posts: 619
Join Date: Dec 2007
Location: Idaho
31-10-2008, 10:51 PM

Please open a support ticket. The repairs described above are incorrect.


John Haugeland (john.haugeland ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
Reply

Tags
blank, import

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cron job to backup Kayako owned DB? christinasc SupportSuite, eSupport and LiveResponse 6 17-04-2007 07:15 PM
Hosted Site DB import into Owned Site christinasc SupportSuite, eSupport and LiveResponse 18 01-02-2007 09:07 AM
new options blank on kayako leozim SupportSuite, eSupport and LiveResponse 0 18-10-2006 11:36 PM



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46