• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.

Trying to create pmadb... ERROR 1047 at line 31: Unknown command

I

ian.foulds

Guest
For any of you poor souls who are experiencing a totally dreadful time trying to update to 7.5.3, here is the solution to errors I have experienced.

During the installation of psa I received the error: "Trying to create pmadb... ERROR 1047 at line 31: Unknown command"

After several hours of debugging install scripts and rebuilding rpms I tracked this down to a GRANT command when trying to build the phpMyAdmin database.

The reason was that 'skip-grant-tables' had been included in /etc/my.cnf to resolve some other issues elsewhere, I removed it, restarted mysqld, and it worked. This can also be achieved by putting a "FLUSH PRIVILEGES;" in the install script just to make sure but SW-Soft didn't bother!!!

FYI the catalogue of errors I have encountered upgrading from 7.5.2 to 7.5.3 as as follows:

1. "Database integrity check failed: duplicate values of (action_id, component) exist in table log_components"
The data in psa.log_components was saved and deleted as suggested in some other forum posts.

2. "Table 'psa.ControlVisibility' doesn't exist"
Ran a script to convert tables frorm mySQL to InnoDB format - see posting "Urgent - Failed Upgrade to 7.5.3" for details.

3. "Trying to create pmadb... ERROR 1047 at line 31: Unknown command"
See above for a solution.

SW-Soft please note - ALL these errors, and I do mean ALL, could have been prevented by by better testing and better installation scripts. Your ineptitude has cost me a lot of time and aggrevation.
 
Back
Top