You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git clone -c core.symlinks=true --depth 1 -b POLARDB_11_STABLE https://github.com/ApsaraDB/PolarDB-for-PostgreSQL
cd PolarDB-for-PostgreSQL
./polardb_build.sh --without-fbl --debug=off --withrep --initpx --storage=localfs
...
2025-01-16 15:00:23.742 CST [30553] [30553] LOG: redirecting log output to logging collector process
2025-01-16 15:00:23.742 CST [30553] [30553] HINT: Future log output will appear in directory "pg_log".
. done
server started
server signaled
slot_name | lsn
-----------+-----
replica1 |
(1 row)
slot_name | lsn
-----------+-----
replica2 |
(1 row)
Following command can be used to connect to PG:
su postgres -c "/home/postgres/tmp_basedir_polardb_pg_1100_bld/bin/psql -h 127.0.0.1 -p 5432 postgres"
su postgres -c "/home/postgres/tmp_basedir_polardb_pg_1100_bld/bin/psql -h 127.0.0.1 -p 5433 postgres"
su postgres -c "/home/postgres/tmp_basedir_polardb_pg_1100_bld/bin/psql -h 127.0.0.1 -p 5435 postgres"
################################ px_init ################################
server signaled
rds build done
replica2 端口不是5435, 而是5434
postgres@135451a5cc62:/tmp/PolarDB-for-PostgreSQL$ psql -p 5435
psql: could not connect to server: Connection refused
Is the server running on host "127.0.0.1" and accepting
TCP/IP connections on port 5435?
postgres@135451a5cc62:/tmp/PolarDB-for-PostgreSQL$ psql -p 5434
psql (11.9)
Type "help" for help.
postgres=#
POLARDB_11_STABLE polardb_build.sh 可能存在小bug.
1、编译返回的port 5435有问题
replica2 端口不是5435, 而是5434
2、多了一个
tmp_replica_dir_polardb_pg_1100_bld
目录, 这个目录的数据库没有启动, 配置端口还是5432The text was updated successfully, but these errors were encountered: