Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

报NO_AUTO_CREATE_USER错误 #89

Open
wuxuejian opened this issue May 20, 2021 · 1 comment
Open

报NO_AUTO_CREATE_USER错误 #89

wuxuejian opened this issue May 20, 2021 · 1 comment

Comments

@wuxuejian
Copy link

Describe Your Environment (描述你的环境)

  • System: Ubuntu-20.04
  • PHP version: 7.4.16
  • Mysql version: 8.0.17
  • Swoole version: 4.6.4
  • SMProxy version: 1.3.1

How to Reproduce the Problem? (如何重现问题)

Laravel 8 数据库连接参数改成smproxy后报 Syntax error or access violation: 1231 42000Variable 'sql_mode' can't be set to the value of 'NO_AUTO_CREATE_USER'

image

@bobojx
Copy link

bobojx commented May 25, 2021

这个问题百度一下就能解决,MySQL配置中的sql-mode选项的值增加一个NO_AUTO_CREATE_USER就行了,先百度找答案再提问!!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants