Tool to rebuild database .yaml files
Sometimes the /var/cpanel/databases/$username.yaml (replace $username with an actual username) file becomes corrupt, which causes the following error in the database list in cPanel:
The adminbin “cpmysql” in the “Cpanel” namespace
call to function “DBCACHE” ended prematurely: The subprocess reported
the “ENOTTY” (25) error when it ended.
As a server administrator, I would like a tool or script in cPanel to rebuild the database .yaml files, whether or not database prefixing is disabled.