I can’t create a database, always appear words like this "Database creation error: could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432?"
btw i use windows
Hi,
Most probably your odoo postgres user is not set up properly or your pg_hba.conf does not allow access or postgres is not running at all.make sure the postgresSql port is set to 5432 and restart the service. Please read the installation docs.
please refer to this: https://www.postgresql.org/docs/current/auth-pg-hba-conf.html