1) I ran a grep for the sessions that were currently in effect:
# grep “cpses_” /var/cpanel/databases/
2) I removed the following sections from any user’s yaml that matched the
cpses_########”:
dbs: {}
server: X.X.X.X
3) I removed each of the cpses_######## lines from /var/cpanel/databases/users.db
4) I ran the following command to update the user-data:
# /scripts/update_db_cache
5) I then removed all of the cpses_######## users from the mysql.user table to remove the users from mysql. This can be accomplished from the command line or from WHM>> PhpMyAdmin