September 09, 2010, 07:05:35 AM
Welcome,
Guest
. Please
login
or
register
.
September 09, 2010, 07:05:35 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
508
Posts in
100
Topics by
81
Members - Latest Member:
lakme
Search:
Advanced search
StrongAuth, Inc. Forums
Home
|
Help
|
Search
|
Login
|
Register
StrongAuth, Inc. Forums
StrongKey Forum
Installation
mysql create.txt - row size too large error and fix
« previous
next »
Pages:
[
1
]
Author
Topic: mysql create.txt - row size too large error and fix (Read 3219 times)
mayo
Jr. Member
Posts: 76
mysql create.txt - row size too large error and fix
«
on:
January 30, 2009, 07:11:54 AM »
Just in case anyone else has the problem, I wanted to post an error I came across that I wasted some time on and had a simple reason/fix.
Upon running in MySQL the command "source create.txt" I would get 5 or 6 errors that read
"ERROR 1118 (42000): Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to chang
some columns to TEXT or BLOBs"
I'm installing a test strongkey environment on windows with a previous installation of MySQL. Contrary to the instructions I didn't use the my.cnf config file given because I didn't know how at first, but I used the MySQL admin tools to configure the mysql windows service to match the config.
FIX
I lack DB knowledge and eventually found the DB Characterset being used caused the error. For some reason mine was set to UTF-8. Make sure the symkey database is using
latin1
as its characterset. Type "
status
" at mysql command line to see what the DB characterset is. In MySQL admin tools, you can find the characterset setting under
Startup Variables
and the
Advanced
tab. There's a way to set it via MySQL command line. You should be able to find all other information via Google pretty easily.
Logged
shuaige
Newbie
Posts: 1
Re: mysql create.txt - row size too large error and fix
«
Reply #1 on:
October 22, 2009, 01:41:21 PM »
Not to necro-post, but I found this posting on Google when searching for the exact same MySQL problem.
And it worked! I changed my database's CHARSET to latin1 from utf8, and my CREATE TABLE statement went through without that stupid error.
Just for anyone running into the same problem and randomly coming across this, this solution is valid.
Thanks!
Logged
mayo
Jr. Member
Posts: 76
Re: mysql create.txt - row size too large error and fix
«
Reply #2 on:
October 27, 2009, 01:01:16 PM »
glad i could contribute!
Logged
noxym.com
Guest
Re: mysql create.txt - row size too large error and fix
«
Reply #3 on:
July 09, 2010, 12:53:22 PM »
Quote from: mayo on October 27, 2009, 01:01:16 PM
glad i could contribute!
i think this is difrent then other query of php
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
CSRTool Forum
-----------------------------
=> Announcements
=> Bugs
=> Installation
=> RSA
=> ECDSA
=> Building CSRTool
=> Feature Requests
=> Documentation
=> Miscellaneous
-----------------------------
StrongKey Forum
-----------------------------
=> Announcements
=> Bugs
=> Installation
=> RDBMS
===> MySQL
===> Oracle
===> DB2
===> SQL Server
=> J2EE Application Servers
===> Sun
===> JBoss
===> WebSphere
=> SKCL
=> SKS servers
=> Administration Console
=> Cryptography & Digital Certificates
=> xenc
=> Documentation
=> Feature Requests
=> Miscellaneous