PostgreSQL Database Creation Error: Difference between revisions

m Fix code sections to restore single "=" where they should be
m Add missing word
 
Line 1: Line 1:
== PostgreSQL Database Creation Error ==
== PostgreSQL Database Creation Error ==


When trying to create a new PostgreSQL, if you get the following error:
When trying to create a new PostgreSQL database, if you get the following error:


'Error: Connection to the database server failed: SQLSTATE[55006]: Object in use: 7 ERROR: source database "template1" is being accessed by other users DETAIL: There is 1 other session using the database.'
'Error: Connection to the database server failed: SQLSTATE[55006]: Object in use: 7 ERROR: source database "template1" is being accessed by other users DETAIL: There is 1 other session using the database.'

Latest revision as of 18:15, 25 January 2025

PostgreSQL Database Creation Error

When trying to create a new PostgreSQL database, if you get the following error:

'Error: Connection to the database server failed: SQLSTATE[55006]: Object in use: 7 ERROR: source database "template1" is being accessed by other users DETAIL: There is 1 other session using the database.'

This means the server in the process of creating another database for someone else.

In most cases, the fix is to try again later.

Further Support

If you've already waited and tried again later and the problem still exists, or if you get a different error, please make a new post in the Customer Service forum, making sure to provide your username, domain name, and details about the problem, including any error message(s) received.


This page was last edited on 25 January 2025, at 18:15.