Alex,

 

You can use psql (PostgreSQL interactive terminal) to interact with the database as follows:

sudo -u postgres psql

 

Bart

 

From: Williams, Alexander <Alexander.Williams@commscope.com>
Sent: Tuesday, July 6, 2021 10:07 AM
To: starlingx-discuss@lists.starlingx.io
Subject: [Starlingx-discuss] SQL Database Access

 

[Please note: This e-mail is from an EXTERNAL e-mail address]

Hi All,

 

I’ve seen that there is a SQL database responsible for storing all inventory details (hosts, nodes, etc).

Is there any way to access this database either through python or the shell to look at/edit entries by hand?

 

Thanks,

Alex