The default root account for PolarDB-X is polardbx_root, which you can log into and then modify the password or create new accounts for business access using privilege management statements.

The password for the polardbx_root account is randomly generated. Execute the following command to obtain the password for the PolarDB-X root account:

kubectl get secret {PolarDB-X cluster name} -o jsonpath="{.data['polardbx_root']}" | base64 -d | xargs echo "Password: "

The expected output is:

Password:  *******

results matching ""

    No results matching ""