Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants