# How to connect database with tryton server

**URL:** https://discuss.tryton.org/t/how-to-connect-database-with-tryton-server/7187
**Category:** System Administrator
**Created:** [April 16, 2024, 9:09am UTC](https://discuss.tryton.org/t/how-to-connect-database-with-tryton-server/7187 "2024-04-16T09:09:18Z")
**Posts on this page:** 5
**Page:** 2

<div class="post-metadata">

### Author: ![acaubet](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/acaubet/32/1493_2.png) [@acaubet](https://discuss.tryton.org/u/acaubet)
#### Post date: [April 17, 2024, 12:33pm UTC](https://discuss.tryton.org/t/how-to-connect-database-with-tryton-server/7187/24 "2024-04-17T12:33:15Z")

</div>

> [@shashi](#):
>
> trytond-admin -d -p

You need to provide the value for -d (database).  
So you need to run somethink like:  
`trytond-admin -d tryton -p`

---

<div class="post-metadata">

### Author: ![shashi](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/s/ecb155/32.png) [@shashi](https://discuss.tryton.org/u/shashi)
#### Post date: [April 18, 2024, 10:55am UTC](https://discuss.tryton.org/t/how-to-connect-database-with-tryton-server/7187/25 "2024-04-18T10:55:19Z")

</div>

Hi @acaubet  
I’m able to connect database with desktop client, one more question i want to use account, bank, Product invoice ,sale…etc how to use these modules ,i have clicked mark for activatation then it is showing “to be activated” but its not activated ,please help here

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [April 18, 2024, 11:23am UTC](https://discuss.tryton.org/t/how-to-connect-database-with-tryton-server/7187/26 "2024-04-18T11:23:29Z")

</div>

You must run the wizard “Perform Pending Activation/Upgrade”.  
Or you must activate them using the `trytond-admin` command line, see [How to setup a database — Tryton server](https://docs.tryton.org/latest/server/topics/setup_database.html#update-a-database)

---

<div class="post-metadata">

### Author: ![shashi](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/s/ecb155/32.png) [@shashi](https://discuss.tryton.org/u/shashi)
#### Post date: [April 18, 2024, 1:03pm UTC](https://discuss.tryton.org/t/how-to-connect-database-with-tryton-server/7187/27 "2024-04-18T13:03:06Z")

</div>

Yes its displaying after run the wizard “Perform Pending Activation/Upgrade”. Thanks @ced

---

<div class="post-metadata">

### Author: ![nicoe](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/nicoe/32/2880_2.png) [@nicoe](https://discuss.tryton.org/u/nicoe)
#### Post date: [April 18, 2024, 1:24pm UTC](https://discuss.tryton.org/t/how-to-connect-database-with-tryton-server/7187/28 "2024-04-18T13:24:50Z")

</div>

A post was split to a new topic: [What is the complete workflow of a sale?](https://discuss.tryton.org/t/what-is-the-complete-workflow-of-a-sale/7208)

[Previous page](https://discuss.tryton.org/t/how-to-connect-database-with-tryton-server/7187.md?page=1)
