-
Notifications
You must be signed in to change notification settings - Fork 11
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
Error: (1064, "You have an error in your SQL syntax; ...) #6
Comments
Looks like a Windows line-ending issue ( |
|
I tried as your recommended doc, but there is same error above. |
I see you are using MariaDB, which has slightly different features or format than MySQL. The JSON syntax works on MySQL, but is different on MariaDB. See also https://mariadb.org/making-mariadb-understand-mysql-json/ |
What I have done is only to clone this repo, https://github.com/polkascan/harvester and follows the |
I assumed you used an external DB, because I saw |
No, I am testing this hasvester on my local, so I am using the Local MySQL database with Xampp Server. |
Then that is not a MySQL on your local machine, but MariaDB. |
So, you mean, I need to change the this code, https://github.com/polkascan/harvester/blob/main/db/versions/861750430061_etl_procedures.py with MariaDB Query Format? Currently, I am getting Syntax Errors only in this file. |
It means it doesn't work on MariaDB because of earlier mentioned reasons:
Unless you follow the steps described in the link I provided |
The impression I get that this is a bit out of your comfort-zone, so I would strongly recommend using the Docker version. |
Hi, When I run this
alembic upgrade head
command, I am getting this error below.Here is my docker-compose.yml file.
How to solve this error?
Please help me.
The text was updated successfully, but these errors were encountered: