traccar - H2 database - python connection
Hi,
I'm running Traccar in docker and I'd like to connect to its H2 database within the container. this is my initial code: Code:
Code:
File "dbmanager.py", line 5, in <module> Could you please help me? |
https://stackoverflow.com/questions/...t-python-to-h2
based on this your last argument is incorrect |
Yes, thanks, this is how it works
Code:
conn = jaydebeapi.connect('org.h2.Driver', 'jdbc:h2:/home/user/Documents/traccar/target/database', ["sa", ""], '/opt/traccar/lib/h2-1.4.200.jar') |
All times are GMT -5. The time now is 05:20 AM. |