295022
第一次安装报错
回帖数 1
阅读数 1088
发表时间 2024-08-29 17:46:18
在执行安装数据库的时候,报以下错误:
SQLSTATE[HY000]: General error: 1419 You do not have the SUPER privilege and binary logging is enabled (you
might want to use the less safe log_bin_trust_function_creators variable) ,the sql is: 'CREATE FUNCTION get_monday(day date) RETURNS date READS SQL DATA begin if date_format(day, '%w') = 0 then return subdate(day, date_format(day, '%w') - 6); else return subdate(day, date_format(day, '%w') -1); end if; END'
运行环境是:
nginx1.18
mysql :5.7.3
php:7.4
1个回复
提示为禅道使用的数据库用户权限不足,可以使用数据库的 root 用户或者具有 SUPER 权限的账号安装再试下。
2024-08-30 08:56:42 禅道-阿龙 回帖
联系我们
联系人
刘斌/高级客户经理
电话(微信)
17685869372
QQ号码
526288068
联系邮箱
liubin@chandao.com

相关帖子
treesfi | 最后回帖 2022-02-09 13:17 禅道 - 闫敏
mwt | 最后回帖 2017-11-24 09:36 石洋洋
爽快的热水瓶 | 最后回帖 2024-12-10 13:37 郑院生
温文尔雅的电脑桌 | 最后回帖 2025-03-17 09:11 于涛
热气腾腾的包子 | 最后回帖 2016-04-01 17:27 热气腾腾的包子
柳先森 | 最后回帖 2018-08-31 08:49 柳先森


禅道-阿龙


精品资料包
1V1产品演示
免费试用增强功能
专属顾问答疑支持


