# Purpose of Migrate database task (Version 9.1.0 and 9.2.0)

**URL:** <https://forum.ansible.com/t/purpose-of-migrate-database-task-version-9-1-0-and-9-2-0/32546>\
**Category:** AWX Project\
**Tags:** awx, kubernetes\
**Created:** [March 27, 2020, 4:14am UTC](https://forum.ansible.com/t/purpose-of-migrate-database-task-version-9-1-0-and-9-2-0/32546 "2020-03-27T04:14:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ajitkumar\_Tanwade](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@Ajitkumar\_Tanwade](https://forum.ansible.com/u/Ajitkumar_Tanwade)\
**Post date:** [March 27, 2020, 4:14am UTC](https://forum.ansible.com/t/purpose-of-migrate-database-task-version-9-1-0-and-9-2-0/32546/1 "2020-03-27T04:14:45Z")

</div>

Hi All,

Hope you are doing well

When we are trying to install AWX on K8S, it is either hang at the task: Migrate Database or give below error. We are creating a new PV.

Error:

django.db.utils.OperationalError: could not connect to server: Connection timed out", “\tIs the server running on host "awx-postgresql" (10.98.4.144)  
and accepting”, "\tTCP/IP connections on port 5432?

May I know the purpose of this task, is it necessary while creating a new PV. Please suggest

Regards,  
Ajit
