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:

https://confluence.atlassian.com/display/JIRA052/Retrieving+the+JIRA+Administrator

 

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=>

 

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.

-Indra

 

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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Off-topic

Get to know our Atlassian User Group Leaders from Bengaluru, India

Meet @Dinesh Dhinakaran, @Vishnu Vasudeva, @Rajeev Verma, and Jamshid Nalakath: Our extraordinary AUG leaders from Bengaluru, India. These four work together to strengthen the bonds of their local co...

136 views 0 4
Read article

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