What Should I Do If Error Message "Read timed out" Is Displayed When the MySQL Client Connects to the Doris?
Symptom
An error was reported when the MySQL client is connected to Doris.
java.net.SocketTimeoutException: Read timed out
Cause Analysis
The Doris server responds slowly.
Procedure
When you use the MySQL client to connect to the Doris database, run the following command with connect_timeout added (default value: 10 seconds):
mysql -uDatabase login user -pDatabase login user password -PDatabase connection port -hIP address of Doris FE instance --connect_timeout=120
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.