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

Reply
 
LinkBack (1) Thread Tools Search this Thread Display Modes
  1 links from elsewhere to this Post. Click to view. (#1) Old
khoffman Offline
New Member
 
Posts: 14
Join Date: May 2006
Post Steps to fix SQL error "Out of range value adjusted for column ..." in MySQL 5 - 13-05-2006, 12:17 AM

I deployed Kayako on MySQL 5 and soon found I could not insert new staff or create tickets via email piping. After some digging, I found out it was due to "Out of range value adjusted for column ..." errors coming back from mysql.

The "Out of range value adjusted for column ..." mysql errors are due to MySQL 5 running with a strict sql-mode.

You need to edit /etc/my.cnf and change sql-mode to something like:

sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

It cannot have any of the STRICT options or many of the "meta" modes like TRADITIONAL because that will also include STRICT semantics. See

http://dev.mysql.com/doc/refman/5.0/...-sql-mode.html

for more information.
   
Reply With Quote
  (#2) Old
ozgurerdogan Offline
New Member
 
Posts: 19
Join Date: Oct 2006
31-10-2006, 11:34 AM

I set this value in my php.ini file but I wonder if I have any trouble in future.
   
Reply With Quote
  (#3) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,692
Join Date: Aug 2006
Location: Mumbai, India
31-10-2006, 02:36 PM

You do not need to set it in php.ini rather you need to edit the sql-mode setting in your my.ini file which can be found in the Windows directory. my.ini file is a MySQL config file.



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
Reply

Tags
adjusted, column, fix, mysql, range, sql, steps

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

LinkBacks (?)
LinkBack to this Thread: http://forums.kayako.com/f56/steps-fix-sql-error-out-range-value-adjusted-column-mysql-5-a-7604/
Posted By For Type Date
MySQL error: Out of range value adjusted for column 'cid' at row 1 - Nationaal Computer Forum This thread Refback 17-12-2007 11:31 AM



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