1、postgres 远程TCP/IP连接
1、修改postgres配置 /opt/homebrew/var/postgresql@14/postgresql.conf
#listen_addresses = 'localhost, 127.0.0.1' # what IP address(es) to listen on;
listen_addresses = '*' # 增加这一条
2、修改/opt/homebrew/var/postgresql@14/pg_hba.conf
# IPv4 local connections:
host all all 127.0.0.1/32 trust
host all all 0.0.0.0/0 trust
3、重启数据库服务器
做为服务启动,停止将start改为stop
brew services start postgresql@14
brew services stop postgresql@14
brew services restart postgresql@14
2、配置ingestion
参考:
Working With Platform Instances | DataHub
ps.参考:
https://stackoverflow.com/questions/74677369/docker-network-connect-to-postgres-db-from-datahub-or-openmetadata-locally