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

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 #38

Open
ryzn0518 opened this issue Aug 8, 2022 · 1 comment

Comments

@ryzn0518
Copy link

ryzn0518 commented Aug 8, 2022

To Reproduce
Steps to reproduce the behavior:

when work the cargo run --bin delicate-scheduler.

it reports that:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1  

the .env file and mysql configs is that DATABASE_URL=mysql://test111:123456@10.1.1.1:3306/db_name

@QuintinTao
Copy link

I set the config item
CUSTOMIZE_TIME_ZONE="'+8:00'" in the .env properties and solve this problem.

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