cPanel & WHM Version 108 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!

Tool to rebuild database .yaml files

cPanelJared shared this idea 8 years ago
Open Discussion

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.

Replies (1)

photo
1

... and to strip out all the old cruft from ancient versions...

Leave a Comment
 
Attach a file