`

mysql报错Out of range value adjusted.的解决办法

阅读更多
最近需要对一个项目做mysql升级,当项目重新测试运行的时候却遇到Out of range value adjusted。。。的错误,网上搜索了一下,原因是新版本的mysql对字段的检查更严格,在此做个记录,解决办法如下:
修改my.ini,将
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
改为
sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"。
分享到:
评论

相关推荐

    mysql常见错误与标准错误对照表.docx

    12. **错误126422003**: "Out of range value adjusted for column '%s' at row %ld",表示试图插入的数据超出了列的范围,MySQL会自动调整值。 13. **错误12651000**: "Data truncated for column '%s' at row %ld...

    最新版的DebuggingWithGDB7.05-2010

    5.1.9 “Breakpoint address adjusted...”. . . . . . . . . . . . . . . . . . . . . . . . . . 5.2 Continuing and Stepping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.3 ...

    java中常见的错误.docx

    3. 数据类型不匹配:当尝试将不兼容的数据类型插入到数据库中时,如`Data truncated for column 'gatheringMoney' at row 1`和`Data truncation: Out of range value adjusted for column 'amount' at row 14`,表明...

    hls.min.js

    var i={NETWORK_ERROR:"networkError",MEDIA_ERROR:"mediaError",MUX_ERROR:"muxError",OTHER_ERROR:"otherError"},a={MANIFEST_LOAD_ERROR:"manifestLoadError",MANIFEST_LOAD_TIMEOUT:"manifestLoadTimeOut",...

    Handbook of Research on Soft Computing and Nature-Inspired Algorithms

    Featuring comprehensive coverage on a range of topics and perspectives such as swarm intelligence, speech recognition, and electromagnetic problem solving, this publication is ideally designed for ...

    Living Particles 1.1.unitypackage

    This Package is also using Unity's Shuriken Particle System, so any parameter can be adjusted. Particles can be affected by both one player and several players without much loss of performance. ...

    Asjusted-rand-index.zip_Adjusted Rank index_Asjusted rand index_

    This Matlab code calculates the Rand Index and Adjusted rand Index between two clustering groups.... Using the value of the indices one can know about the similarity of the clustering group

    微软内部资料-SQL性能优化3

    For an example of how to decode value from this column using the information above, let us assume we have the following value: 0x000705001F83D775010002014F0BEC4E With byte swapping within each ...

    unity3d粒子特效LivingParticles1.0,惊艳亮相!

    This Package is also using Unity's Shuriken Particle System, so any parameter can be adjusted. Particles can be affected by both one player and several players without much loss of performance. - 27...

    纽约股票交易所标准普尔500股票数据-数据集

    3. **prices-split-adjusted.csv**:这个文件记录了股票的价格数据,经过了股息支付和股票分割的调整。股票分割会影响股票的市场价格,但不改变公司的价值,因此调整后的价格能更准确地反映股票的实际表现。同时,它...

    the peer performance ratios of hedge funds.pdf

    The Sharpe ratio (Sharpe 1992) is one industry standard for measuring the absolute risk adjusted performance of hedge funds. This function performs the testing of Sharpe ratio difference for two funds...

    概率论与数理统计词汇英汉对照表

    absolute value 绝对值 accept 接受 acceptable region 接受域 additivity 可加性 adjusted 调整的 alternative hypothesis 对立假设 analysis 分析 analysis of covariance 协方差分析 analysis ...

    Introducing .NET 4.0: with Visual Studio 2010

    Familiar technologies are being altered, best practices replaced, and developer methodologies adjusted. Many developers find it hard to keep up with the pace of change across .NET’s ever-widening ...

    HYM8563-Haoyu.pdf

    adjusted. The clock can operate in two modes: one is the 12-hour mode with an AM/PM indicator,the other is the 24-hour mode. The clock/calendar is full binary-coded decimal (BCD). In addition, the...

    微软内部资料-SQL性能优化2

    Range of address that can be paged in and out of physical memory. Typically used by drivers who need memory but do not need to access that memory from DPC/dispatch of above interrupt level. ...

    NWH Vehicle Physics 1.7.2

    Vehicle physics package suitable for wide range of vehicles. Realistic, easy to use and heavily customizable. Wheel Controller 3D, a custom in-house wheel solution, has been used for wheel physics ...

    英文高频词组笔记734条

    10. **out of one's accord with** - 与...不一致,如:His actions were out of accord with his words. 11. **with one accord** - 表示大家一致同意,如:The whole team agreed with the plan with one accord....

Global site tag (gtag.js) - Google Analytics