Help Center/
Relational Database Service/
User Guide (Ankara Region)/
FAQs/
Database Connection/
How Do I View All IP Addresses Connected to a Database?
Updated on 2024-04-11 GMT+08:00
How Do I View All IP Addresses Connected to a Database?
You can run the following SQL statement on the database to query the number of connected IP addresses:
SELECT substring_index(host, ':',1) AS host_name,state,count(*) FROM information_schema.processlist GROUP BY state,host_name;
Parent topic: Database Connection
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