码迷,mamicode.com
首页 > 其他好文 > 详细

20170820

时间:2017-09-20 17:53:39      阅读:228      评论:0      收藏:0      [点我收藏+]

标签:efault   details   _for   options   this   following   ror   only   sele   

1. find the mysql configure file in 192.168.101.71
mysql --help | grep Default -A 1  // bellow is part of output

Default options are read from the following files in the given order:
/etc/my.cnf /etc/mysql/my.cnf ~/.my.cnf

2. override the default mysql configure abouONLY_FULL_GROUP_BY

sudo vim /etc/mysql/my.cnf  // add the following line

[mysqld]
sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
3. restart mysql

sudo service mysql restart

#1055 - Expression of SELECT list is not in GROUP BY clause and contains nonaggregated column this is incompatible with sql_mode=only_full_group_by

window.open

http://www.5idev.com/p-javascript_window_open.shtml

ssh login error

https://zhidao.baidu.com/share/17f3e1e6700c559b6036f6e49d82fd5c.html

mysql dump error 

http://www.cnblogs.com/gqdw/p/3844933.html

http://blog.csdn.net/longxibendi/article/details/6363934

http://blog.csdn.net/shaochenshuo/article/details/49888785

orderedDict

http://www.zlovezl.cn/articles/collections-in-python/


http://www.cnblogs.com/lonelywolfmoutain/p/5433581.html

https://stackoverflow.com/questions/37951742/1055-expression-of-select-list-is-not-in-group-by-clause-and-contains-nonaggr

20170820

标签:efault   details   _for   options   this   following   ror   only   sele   

原文地址:http://www.cnblogs.com/helenbj/p/7562530.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!