github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/polardbx/templates/NOTES.txt (about)

     1  Thanks for installing PolarDB-X using KubeBlocks!
     2  
     3  1. Run the following command to create your first PolarDB-X cluster:
     4  
     5  ```
     6  kbcli cluster create pxc --cluster-definition polardbx
     7  ```
     8  
     9  2. Port-forward service to localhost and connect to PolarDB-X cluster:
    10  
    11  ```
    12  kubectl port-forward svc/pxc-cn 3306:3306
    13  mysql -h127.0.0.1 -upolardbx_root
    14  ```