Help Center/
Data Warehouse Service /
Performance White Paper (8.1.3.x)/
Test Methods/
Table Creation and Data Import/
Importing Data Using GDS/
Using gsql to Connect to DWS
Updated on 2025-10-23 GMT+08:00
Using gsql to Connect to DWS
Connecting to DWS Cluster Using gsql
- Go to the /opt directory of the ECS and run the environment variables.
1 2
cd /opt source gsql_env.sh
- Run the following command to connect to the DWS database. Obtain the DWS private IP address and the password of user dbadmin from Creating a DWS Cluster.
1gsql -d gaussdb -h DWS_private_IP_address -U dbadmin -p 8000 -r -W Password_of_user_dbadmin ;
Parent topic: Importing Data Using GDS
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot