The reason for the count of attempted connections being different from the maximum connections is because the Connections Attempted metric is different from the actual successful connections made.
So, how can you track the exact connections made to your MySQL database?
You can achieve this by configuring Threads Connected under the threshold profile.
From your Site24x7 account, navigate to Database > the respective monitor > click the hamburger icon > Edit.
Click the pencil icon near Threshold and Availability and provide the required value under Threads Connected.
Click Save.