Got it

How do I check the encoding before installing GaussDB 200?

Created: Jan 7, 2020 02:08:17Latest reply: Jan 21, 2022 16:46:23 560 4 1 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi team,

Before installing GaussDB 200, how can I check the OS encoding compatibility with the database? Thank you. 

  • x
  • convention:

Featured Answers
little_fish
Admin Created Jan 7, 2020 02:14:46

Hi Axe,

Log in to the node where the database is to be installed as the root user and run the locale command to check whether the encoding format is en_US.UTF-8 or POSIX.


[root@host0 opt]# locale

LANG=en_US.UTF-8

LC_CTYPE="en_US.UTF-8"

LC_NUMERIC="en_US.UTF-8"

LC_TIME="en_US.UTF-8"

LC_COLLATE="en_US.UTF-8"

LC_MONETARY="en_US.UTF-8"

LC_MESSAGES="en_US.UTF-8"

LC_PAPER="en_US.UTF-8"

LC_NAME="en_US.UTF-8"

LC_ADDRESS="en_US.UTF-8"

LC_TELEPHONE="en_US.UTF-8"

LC_MEASUREMENT="en_US.UTF-8"

LC_IDENTIFICATION="en_US.UTF-8"

LC_ALL=


If no, change the code to  en_US.UTF-8 or POSIX.


If you have any problems, please post them in our Community. We are happy to solve them for you!


View more
  • x
  • convention:

user_4397771
user_4397771 Created Dec 19, 2021 07:57:06 (0) (0)
cool  
All Answers
little_fish
little_fish Admin Created Jan 7, 2020 02:14:46

Hi Axe,

Log in to the node where the database is to be installed as the root user and run the locale command to check whether the encoding format is en_US.UTF-8 or POSIX.


[root@host0 opt]# locale

LANG=en_US.UTF-8

LC_CTYPE="en_US.UTF-8"

LC_NUMERIC="en_US.UTF-8"

LC_TIME="en_US.UTF-8"

LC_COLLATE="en_US.UTF-8"

LC_MONETARY="en_US.UTF-8"

LC_MESSAGES="en_US.UTF-8"

LC_PAPER="en_US.UTF-8"

LC_NAME="en_US.UTF-8"

LC_ADDRESS="en_US.UTF-8"

LC_TELEPHONE="en_US.UTF-8"

LC_MEASUREMENT="en_US.UTF-8"

LC_IDENTIFICATION="en_US.UTF-8"

LC_ALL=


If no, change the code to  en_US.UTF-8 or POSIX.


If you have any problems, please post them in our Community. We are happy to solve them for you!


View more
  • x
  • convention:

user_4397771
user_4397771 Created Dec 19, 2021 07:57:06 (0) (0)
cool  
Axe_Z
Axe_Z Created Jan 7, 2020 02:15:43

Thank you very much.
View more
  • x
  • convention:

Saqibaz
Saqibaz Created Jan 21, 2022 16:46:23

Useful information
View more
  • x
  • convention:

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.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.