How does the access to the postgresql database work?
In this article we are detailing how to access the database internally and externally
- Forward the TimescaleDB port
- Use DataGrip or a similar databank IDE
- Add a new data source
- use the forwarded address and port as host and port
- unless you have changed it during installation, use factoryinsight as user and changeme as password
- use factoryinsight as database
- Apply and you can explore the database. If the connection starts to fail, cancel the forwarding and reenable it, then adjust the port number.
Internal Access via Shell
Generally for internal access you usually dont need a username or password.
- Open UMHLens
- Open the timescale-db pod
- Open the Shell for the pod
- type in psql
- you now have access to psql through the Shell and can execute SQL statements
- you need to execute
to connect to the correct database
Last modified February 17, 2023:
update (#208) (ea731fc)