odoo18启动失败Is the server running locally and accepting connections on that socket?

image

  File "/home/odoo/odoo/odoo18/venv/lib/python3.10/site-packages/psycopg2/__init__.py", line 122, in connect
    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: 连接到套接字"/home/odoo/odoo18/pgsql-16/socket_postgresql/.s.PGSQL.5433"上的服务器失败:没有那个文件或目录
	Is the server running locally and accepting connections on that socket?

这个问题是数据库连接失败
1、检查数据库是否已经启动
2、数据库连接地址是否正确

posted @ 2025-10-29 10:37  欧度卜永  阅读(6)  评论(0)    收藏  举报