MyBB Community Forums

Full Version: Database Configuration
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Unable to resolve Database Configuration Error

Nice to meet you, I am not sure if I am allowed to post my question here. Please point out if I am wrong.
I am not fluent in English, and I managed to understand the documentation by translating it,

 but I run docker-compose.yml, and the installation stumbles at the database.

I have access to the PostgreSQL container with user id and password.

# docker exec -it 2f3 psql -U mybb mybb
psql (14.11)
Type "help" for help.

mybb=# \l
                            List of databases
  Name    | Owner | Encoding |  Collate  |  Ctype    | Access privileges
-----------+-------+----------+------------+------------+-------------------
mybb      | mybb  | UTF8    | en_US.utf8 | en_US.utf8 |
postgres  | mybb  | UTF8    | en_US.utf8 | en_US.utf8 |
template0 | mybb  | UTF8    | en_US.utf8 | en_US.utf8 | =c/mybb          +
          |      |          |            |            | mybb=CTc/mybb
template1 | mybb  | UTF8    | en_US.utf8 | en_US.utf8 | =c/mybb          +
          |      |          |            |            | mybb=CTc/mybb
(4 rows)

And the host name is the container name.
I do not know what caused the error.


Best regards.
Kuni Maeda
Can someone please tell me what is going on?
Remove 'mybb_postgresql' from Database Server Hostname, and replace with either 'localhost' or leave it blank.