• Community
  • Questions
  • How do I access JIRA 4.3.2 tables in jiradb database on postgresql 8.3?

How do I access JIRA 4.3.2 tables in jiradb database on postgresql 8.3?

I need to do the following to add the "admin" account the Global Administrators of JIRA permission:



However, I kept getting "No relations found." doing \dt.  Shouldn't the "public" schema has the JIRA tables?

bash-3.2$ id
uid=863(postgres) gid=25(eng) groups=25(eng)
bash-3.2$ psql -U jirauser -d jiradb -W
Password for user jirauser:
Welcome to psql 8.3.23, the PostgreSQL interactive terminal.

Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute query
\q to quit

jiradb=> \dt
No relations found.
jiradb=> \l+
List of databases
Name | Owner | Encoding | Tablespace | Description
jiradb | jirauser | UTF8 | pg_default |
postgres | postgres | UTF8 | pg_default |
template0 | postgres | UTF8 | pg_default |
template1 | postgres | UTF8 | pg_default | default template database
(4 rows)

jiradb=> \dn+
List of schemas
Name | Owner | Access privileges | Description
information_schema | postgres | {postgres=UC/postgres,=U/postgres} |
pg_catalog | postgres | {postgres=UC/postgres,=U/postgres} | system catalog schema
pg_toast | postgres | | reserved schema for TOAST tables
pg_toast_temp_1 | postgres | |
pg_toast_temp_7 | postgres | |
public | postgres | {postgres=UC/postgres,=UC/postgres,tableau=U/postgres} | standard public schema
(6 rows)

jiradb=> \dt public.*
No matching relations found.


jiradb=> \du
List of roles
Role name | Superuser | Create role | Create DB | Connections | Member of
jirauser | no | no | no | no limit | {}
postgres | yes | yes | yes | no limit | {}
tableau | no | no | no | no limit | {}
(3 rows)


Thank you.



1 answer

0 vote

This seems rather confused about what you're doing.

Relations (and hence \dt) are completely irrelevant here.  You need to go into the JIRA database, read some tables to find out what JIRA users to change, and then update tables to update their access.  Nothing to do with database users (other than you need to log into the database with a database user who has select, insert and update in the JIRA database)

Suggest an answer

Log in or Join to answer
Community showcase
Maarten Cautreels
Posted Thursday in Off-topic

Friday Fun: What's your favourite beer/drink

As a Belgian, beer-lover and home brewer, beer is one of my great passions. I love the fact that with just a few ingredients (usually just water, hop and malt) you can create so many different tastes...

290 views 38 9
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot