Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 22nd August 2011, 08:50 AM
gogi88 Offline
Registered User
 
Join Date: Jul 2011
Posts: 21
windows_xp_2003firefox
MySQL on FC15 gives me error when importing table

Hi,

I have a problem with one particular table which works fine on FC14.

On a box with FC14:

Linux lassbox-11 2.6.35.10-74.fc14.i686.PAE #1 SMP Thu Dec 23 16:10:47 UTC 2010 i686 i686 i386 GNU/Linux

mysql Ver 14.14 Distrib 5.1.52, for redhat-linux-gnu (i386) using readline 5.1

The attached script test.sql (which imports the file traces.sql.1.1) works fine but on the box with FC15:

Linux lassbox-16 2.6.38.8-35.fc15.i686.PAE #1 SMP Wed Jul 6 14:29:06 UTC 2011 i686 i686 i386 GNU/Linux

mysql Ver 14.14 Distrib 5.5.14, for Linux (i686) using readline 5.1

I get the following line after script tries to import the file:

ERROR 1118 (42000) at line 7: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. You have to change some columns to TEXT or BLOBs


I tried reducing the sizes but somehow failed to find the size which doesn't create the error and am confused by FC14 box which "chews" it without problems.

Could someone help me find probably some MySQL settings which affect this?

Thank you in advance!

Gogi
Attached Files
File Type: gz test.sql.gz (1.0 KB, 42 views)
File Type: gz traces.sql.1.1.gz (16.4 KB, 39 views)
Reply With Quote
  #2  
Old 22nd August 2011, 10:15 AM
mschwendt's Avatar
mschwendt Offline
Registered User
 
Join Date: Jun 2010
Posts: 246
linuxfirefox
Re: MySQL on FC15 gives me error when importing table

Are you sure the attached files are valid? The 3rd and 4th columns already are not wide enough to hold the values found in the include file:

Quote:
create table traces(TC int,timestamp char(20),p_rto char(16),v_rto char(5), …

1 1313756918.664242000 tcp.analysis.rto_frame ip.dsfield …
And with the column names being 'p+v' pairs apparently, it seems to me one 'v' column is missing in the include file between p_rto and v_rto, too.
Reply With Quote
  #3  
Old 22nd August 2011, 10:28 AM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,076
linuxfirefox
Re: MySQL on FC15 gives me error when importing table

The default storage engine has changed from MyISAM to InnoDB, and the default row size limits have changed accordingly. Add "ENGINE = MYISAM" to your CREATE TABLE statement to use the same engine as before.
Reply With Quote
  #4  
Old 22nd August 2011, 11:22 AM
gogi88 Offline
Registered User
 
Join Date: Jul 2011
Posts: 21
windows_xp_2003firefox
Re: MySQL on FC15 gives me error when importing table

Thank you markkuk! It works perfectly as earlier

Mschwendt, the "v" column was actually empty and there were 2 TAB's in a row after the "p" column (p_rto) instead of TAB value TAB.

Gogi
Reply With Quote
Reply

Tags
error, fc15, importing, mysql, table

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
fc15 - where is /etc/init.d/mysql ? adrian_stephens Installation and Live Media 3 1st June 2011 10:31 AM
Mysql table merge ibbo Programming & Packaging 6 4th February 2008 01:29 PM
Importing data in mysql? fvs Programming & Packaging 6 21st August 2007 01:33 AM
MySQL Won't Return The First Row Of Table xeonman9000 Programming & Packaging 5 26th March 2007 04:56 PM
Problem importing MySQL db with PHPMyAdmin TheOlster Servers & Networking 6 6th March 2007 06:02 PM


Current GMT-time: 07:41 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat