Our features site is undergoing a refresh! Be sure to explore the revamped site and discover our latest product roadmap launching here on Monday, March 18th.

Tool to rebuild database .yaml files

cPanelJared shared this idea 10 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