![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql错误
邪小新
这个作者很懒,什么都没留下…
展开
-
mysql 函数,存储过程和触发器简单总结
mysql 函数,存储过程和触发器简单总结原创 2022-02-23 14:34:56 · 459 阅读 · 0 评论 -
mysql创建function函数报1418-- *might* want to use the less safe log_bin_trust_function_creators variable
mysql报1418错误 - This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)原创 2022-02-21 21:59:33 · 311 阅读 · 0 评论 -
mysql的基础操作详细总结
mysql的基础操作详细总结原创 2022-02-16 13:50:12 · 219 阅读 · 0 评论 -
MySQL5.7 group by新特性报错1055的解决办法
其中ONLY_FULL_GROUP_BY就是造成这个错误的罪魁祸首了,对于group by聚合操作,如果在select中的列没有在group by中出现,那么这个SQL是不合法的,因为列不在group by从句中,所以设置了sql_mode=only_full_group_by的数据库,在使用group by时就会报错。windows方法:1.查看sql_modeSELECT @@sql_mode;2、去掉ONLY_FULL_GROUP_BY,重新设置值。SET sql_mode ='STRI原创 2021-04-30 10:21:23 · 302 阅读 · 0 评论 -
MySQL时间函数from_unixtime()与unix_timestamp()与now()使用说明
now() //当前时间 unix_timestamp() //当前时间戳,也可以把当前时间转化成时间戳 from_unixtime(1533657600) //将时间戳转换为时间 默认格式 ‘%Y-%m-%d %H:%i:%s’SELECT state, DATE_FORMAT(FROM_UNIXTIME(ctime),"%Y-%m-%d") as day FROM jshop_user_log...原创 2020-06-16 10:02:51 · 1703 阅读 · 0 评论 -
mysql-1130错误的解决办法
mysql不支持远程连接的解决办法grant all on *.* to 'admin'@'%' identified by '321' with grant option;select host,user from user;原创 2020-06-09 17:27:38 · 234 阅读 · 0 评论