MySQL Errcode: 122 restoring database on Virtualmin server after fresh install

Background

You might experience the following MySQL error whilst trying to restore a Virtualmin database:

#3 - Error writing file './DB_NAME/TABLE_NAME.frm' (Errcode: 122)

Solution

Check to see if the website in question has sufficient disk quota. On a default installation of Virtualmin the default quota is 1 GB, and you might have breached it.

Share this article

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top