Skip to content

Commit 9c9ef69

Browse files
committed
[HHH-19365] update default port
1 parent 0398e44 commit 9c9ef69

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

ci/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ elif [ "$RDBMS" == "mariadb" ] || [ "$RDBMS" == "mariadb_10_4" ]; then
1515
elif [ "$RDBMS" == "postgresql" ] || [ "$RDBMS" == "postgresql_13" ]; then
1616
goal="-Pdb=pgsql_ci"
1717
elif [ "$RDBMS" == "gaussdb" ]; then
18-
goal="-Pdb=gaussdb -DdbHost=localhost:5432"
18+
goal="-Pdb=gaussdb -DdbHost=localhost:8000"
1919
elif [ "$RDBMS" == "edb" ] || [ "$RDBMS" == "edb_13" ]; then
2020
goal="-Pdb=edb_ci -DdbHost=localhost:5444"
2121
elif [ "$RDBMS" == "oracle" ]; then

docker_db.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ gaussdb() {
217217
# config param
218218
CONTAINER_NAME=opengauss
219219
IMAGE=opengauss/opengauss:7.0.0-RC1
220-
PORT=5432
220+
PORT=8000
221221
DB_USER=hibernate_orm_test
222222
DB_PASSWORD=Hibernate_orm_test@1234
223223
DB_NAME=hibernate_orm_test
@@ -230,7 +230,7 @@ gaussdb() {
230230
-e GS_NODENAME=opengauss \
231231
-e GS_PORT=${PORT} \
232232
-e GS_CGROUP_DISABLE=YES \
233-
-p ${PORT}:5432 \
233+
-p ${PORT}:8000 \
234234
-d ${IMAGE}
235235

236236
echo "wait OpenGauss starting..."
@@ -246,11 +246,9 @@ gaussdb() {
246246
"
247247

248248
echo "Initialization completed"
249-
echo "connection information£º"
249+
echo "connection information"
250250
echo " Host: localhost"
251251
echo " Port: ${PORT}"
252-
echo " Username: ${DB_USER}"
253-
echo " Password: ${DB_PASSWORD}"
254252
echo " Database: ${DB_NAME}"
255253
}
256254

0 commit comments

Comments
 (0)