Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence database can't create attachements table?

Timothy Harris
Contributor
June 25, 2015

A collegue of mine did a confluence upgrade that went bad. I am trying to roll back to previous version.

Steps:

  • Restore backed up HOME directory
  • Restore backed up INSTALL directory
  • Restore backed up database

 

It is going bad when trying to execute the SQL file on the database with:

ERROR 1005 (HY000) at line 1667: Can't create table 'confluence.ATTACHMENTS' (errno: 121)

Anybody have any ideas?

 

1 answer

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 25, 2015

MySQL right?  Looks like your indices have gone bang.  When you "restored backed up database", did you completely drop the target first and recreate a clean empty database?

Timothy Harris
Contributor
June 29, 2015

I ended up wiping the database and recreating it then doing the import. Worked fine.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events