• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Mysql 4.1 problems

N

nveid

Guest
I upgraded to mysql 4.1 cause after reviewing threads I heard that plesk was compatible with it. For the most part it seems to work fine at first glance. But, i get this error when i try to add a new email user on any domain.

ERROR Up LevelUp Level

Unable to query database: Duplicate entry '0' for key 1

--------------------------------------------------------------------------------

0: /opt/psa/admin/plib/class.ActionLog.php:516 psaerror(string "Unable to query database: Duplicate entry '0' for key 1")
1: /opt/psa/admin/plib/class.ActionLog.php:468 ActionLog->submitAction_()
2: /opt/psa/admin/plib/mail/MailName.php:1002 ActionLog->submit()
3: /opt/psa/admin/htdocs/domains/mail/mail_name_preferences.php:87 Mailname->update()
 
oooo. I got more, i just downgraded back to 4.0 (after doing the proper steps after dumping a compatible 4.0 database).. And I'm still getting the same problem
 
Please try reinstatlling the mysql 4 rpms from the atomicrocketturtle.com repository
 
I found my problem, it was from when i upgraded to mysql5 and downgraded back to mysql 4. Apparently mysqldump --all-databases --compatible=mysql40 doesn't dump auto_increment and some other things.

So I had to restore my mysql5 (i had a backup of teh databases in raw format from a tarball), did another mysqldump --all-databases, and manually converted the mysql5 database to mysql4.

-- RLB
 
Back
Top