Help Center/
GaussDB(DWS)/
Performance White Paper/
Test Methods/
Table Creation and Data Import/
Importing Data Using GDS/
Using gsql to Connect to DWS
Updated on 2022-07-26 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 GaussDB(DWS) database. Obtain the GaussDB(DWS) private network IP address and the password of user dbadmin from Creating a DWS Data Warehouse.
1
gsql -d gaussdb -h GaussDB(DWS)_private_network_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