If you notice that the MySQL processes on dedicated server are using a lot of CPU load, there is a way to see which MySQL user is causing it.
cat /usr/local/directadmin/conf/mysql.conf
SHOW PROCESSLIST
A query shouldn’t take anymore than few seconds. Queries that take more than that are likely the source of the high load on the box.
The “Processes” tab has the option to kill a process, if needed. Using it may cause corrupted databases, so use sparingly.
If you find a specific User which is using more load than he should, newer MySQL versions have the ability to limit resources. As of DA 1.37.0, this feature is not in the interface, but if you login to /phpMyAdmin again (see #2 above), go to the database mysql
then the table user
and edit the user in question, and adjust the options:
max_queries
max_updates
max_connections
max_user_connections