Open SWS-5007 opened 1 year ago
Looks like a Windows line-ending issue (\n
in stead of \r\n\
), you will have to convert this somehow
Looks like a Windows line-ending issue (
\n
in stead of\r\n\
), you will have to convert this somehow
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 readme
step by step.
I didn't change any codebase too.
So I can't see why This error says I am using MariaDB.
What I have done is only to clone this repo, https://github.com/polkascan/harvester and follows the
readme
step by step. I didn't change any codebase too. So I can't see why This error says I am using MariaDB.
I assumed you used an external DB, because I saw You have an error in your SQL syntax; check the manual that corresponds to your **MariaDB** server version
in your logs above. So you are using the Docker MySQL image?
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:
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/
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.