Is there a workaround for the DB failing when runn...
# getting-started
z
Is there a workaround for the DB failing when running init? Don't think I have missed the DB settings in the docs, but might have?
Copy code
Creating system database...2022-04-11T15:04:00.074244Z [info     ] DB connection failed. Will retry after 5s. Attempt 1/3
2022-04-11T15:04:05.079804Z [info     ] DB connection failed. Will retry after 5s. Attempt 2/3
2022-04-11T15:04:10.085686Z [info     ] DB connection failed. Will retry after 5s. Attempt 3/3
2022-04-11T15:04:15.091431Z [error    ] Could not connect to the Database. Max retries exceeded.
v
https://gitlab.com/meltano/meltano/-/issues/3390 I thought this was windows only, maybe it isn't! I'll upload a blank db for you. Upload this to your
.meltano/meltano.db
tbh since you don't know me I wouldn't trust me here and I'd generate it yourself in linux somewhere, but your call!
t
@zeger-jan_van_de_weg can you share more about your system and python version?
z
MacOS, M1.
Copy code
zegerjan@zeger-jans-air flowforge % python3 --version
Python 3.9.12
~/.meltano didn't exist btw, and copying the DB there wasn't working either on a new
meltano init
t
@zeger-jan_van_de_weg can you add your experience in https://gitlab.com/meltano/meltano/-/issues/3328 ? I think you both are seeing the same thing. Not sure of the root cause though
z
Maybe it's a duplicate?
t
I’ll consolidate shortly. The newer on is focused on Windows but may not make sense to have both
z
Don't know what I changed, but it's working now. Sorry I can't be much more helpful