Got it

Log in GaussDB database of NCE.

431 0 1 0 0

Hello, everyone!

Today, I'd like to share a case with you about how to log in GaussDB database of NCE.


Background

After NCE  V1R18C10 change to GaussDB, there is some difference in linking with the database.

1. The database node is switched from the NM node to the DB node.

2. Obtain database user name and password:

   

Solution Description

  1. Check database port and bound IP address

          login DB node OS with ossadm;

          cd /opt/zenith/data

          find ./ -name TNOTNDB

          cat /opt/zenith/data/nmsdbsvr-0-1048/cfg/zengine.ini | grep LSNR_PORT

          cat /opt/zenith/data/nmsdbsvr-0-1048/cfg/zengine.ini | grep LSNR_ADDR

1

     2.log in database:

         cd /opt/zenith/app/bin/

         ./zsql TNOTNDB/Changeme_123@127.0.0.1:32083

2



Welcome to leave a message below.

We study together.

Thank you!


Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.