Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2007
    Posts
    10
    Plugin Contributions
    0

    Default Database Import Error

    I'm moving an installation of ZC 1.3.6 on a server running MySQL v4.1.21 to a new server running MySQL 5.

    While trying to import the database to the new server I get this error:

    #1406 - Data too long for column 'products_description' at row 1

    If I remove the Insert for the product description table everything else imports fine. The first record looks like this:

    (184, 1, 'Explore 14" Laptop Messenger Satchel - Copper', 'When you need the essentials and more, the Explore holds just that little extra. With a padded computer nest, spacious central compartment, side pen & key pockets, plus a media player cache… you’re set to go.', '', 21)

    This is the structure:

    CREATE TABLE IF NOT EXISTS `zen_products_description` (
    `products_id` int(11) NOT NULL auto_increment,
    `language_id` int(11) NOT NULL default '1',
    `products_name` varchar(64) NOT NULL default '',
    `products_description` text,
    `products_url` varchar(255) default NULL,
    `products_viewed` int(5) default '0',
    PRIMARY KEY (`products_id`,`language_id`),
    KEY `idx_products_name_zen` (`products_name`)
    )

    I'm using PHPMyAdmin v2.6.1-pl3 if that should matter.

    Thanks in advance for any help!

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Database Import Error

    Try changing (remove spaces)
    Code:
    14"  to 14 & # 147;
    And you should upgrade as full support for mysql 5.x is in later versions
    Last edited by kobra; 30 Sep 2008 at 08:25 AM.
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: Database Import Error

    Thanks for the reply.

    I'm still getting the same error after replacing the double quotes with '&#147'.

  4. #4
    Join Date
    Feb 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: Database Import Error

    Anyone else have any ideas?

 

 

Similar Threads

  1. v139h Database import error
    By DCDC in forum Upgrading to 1.5.x
    Replies: 1
    Last Post: 7 Dec 2012, 02:24 AM
  2. database import error
    By musicfreer in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 13 Jan 2011, 04:16 PM
  3. Database Import Error
    By bsteinagel in forum Upgrading from 1.3.x to 1.3.9
    Replies: 0
    Last Post: 12 Sep 2008, 12:48 AM
  4. Import Database ERROR
    By carol in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 21 Oct 2007, 11:21 PM
  5. Error on Database import
    By gabenn2 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 0
    Last Post: 23 May 2007, 10:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg