Symptoms
When using the whmapi1 modifyacct API utility to rename many accounts in quick succession you may find that the process fails for some domains, and the following is reported via the cPanel error log:
"The system received an error from the “MySQL” database “mysql”: ER_CANNOT_USER (Operation RENAME USER failed for 'cPanelUser'@'localhost')"
Description
We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-46183. Follow this article to receive an email notification when a solution is published in the product.
Workaround
When the error is encountered, we recommend spreading out name change requests to avoid hitting this timeout condition at this time. This can be done by adding and increasing the duration of the Linux "sleep" utility for any scripts.
Comments
0 comments
Article is closed for comments.