Skip to main content

Optimize Databases

Comments

4 comments

  • cPanelMichael
    Hello :) Take out the "--check" flag from your first command and it should proceed. There is no need to check the databases if you are already going to attempt the repair. Thank you.
    0
  • Nirjonadda
    What is the "--check" flag ? Please post the Correct code command. Does this Correct commands? mysql -u root --auto-repair --check --optimize --all-databases
    or mysql -Aor
    0
  • cPanelMichael
    These are not commands that cPanel endorses, so we won't post commands like that. Essentially, for that command to work, you would have to remove the "--check" part of the command. Thank you.
    0
  • Nirjonadda
    Thanks, Now working ! mysqlcheck -u root --auto-repair --optimize --all-databases
    0

Please sign in to leave a comment.