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 votes

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 Sign up to answer
Community showcase
Posted 6 hours ago in Agile

What is Scrum? A good, bad, and ugly answer.

In a world of dark-scrum, faux-scrum, and scrum-butt, the question still remains: What is scrum and how do you do it “right?” That’s the question we set out to answer. I'm Max, I've been teaching c...

44 views 0 1
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