• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

ERROR: PleskMainDBException - After restore of MySQL DB

W

Wesley Sgroi

Guest
I just backed up and re-imaged my server after I could no longer access my server through Plesk Control Panel. Once complete, I was able to access Plesk 9 correctly.

However, I restored All databases in mySQL that I had backed up using the 'mysqldump --all-databases' command. It appears as though I overwrote the default Plesk DB in MySQL.

Is there a location that I can obtain the default MySQL Plesk DB so that I can restore it and fix this issue? This is the error I know receive when I try to access the Admin page of plesk.

ERROR: PleskMainDBException
MySQL query failed: Unknown column 'c1.type' in 'field list'

Additionally, an exception has occurred while trying to report this error: PleskMainDBException
MySQL query failed: Unknown column 'c1.type' in 'field list'

0: /usr/local/psa/admin/plib/common_func.php3:168
db_query(string 'select c1.id, c1.type
from (((clients c1
inner join clients c2 on c1.parent_id=c2.id)
inner join ip_pool p1 on c1.pool_id = p1.id)
inner join ip_pool p2 on c2.pool_id = p2.id)
inner join IP_Addresses ip on ip.id = p1.ip_address_id
where p2.type="exclusive" and ip.ip_address = "217.160.248.124" and p2.ip_address_id = p1.ip_address_id')
1: /usr/local/psa/admin/plib/common_func.php3:215
db_query_ex(string 'select c1.id, c1.type
from (((clients c1
inner join clients c2 on c1.parent_id=c2.id)
inner join ip_pool p1 on c1.pool_id = p1.id)
inner join ip_pool p2 on c2.pool_id = p2.id)
inner join IP_Addresses ip on ip.id = p1.ip_address_id
where p2.type="exclusive" and ip.ip_address = "?(ip)" and p2.ip_address_id = p1.ip_address_id', array)
2: /usr/local/psa/admin/plib/elements.php3:911
getCustomPageTitle(object of type UserNone)
3: /usr/local/psa/admin/plib/elements.php3:884
getPleskTitle()
4: /usr/local/psa/admin/htdocs/login.php3:23
 
restore of mysql DB

I am stuck with the same issue as well. Does anyone have the table structure for the missing BackendCache table?

Thanks.
 
Back
Top