Skip to main content

Backup database errors

Comments

3 comments

  • 24x7server
    Hi, There are few possible reason of this error:
    • Permission and ownership on tables files in /var/lib/mysql is not correct, ideal ownership should be to mysql user and permission 660.
    • table not exist, can be checked using below commands.
    • table created in uppercase, set lower_case_table_names as per your application requirement.
    • table is corrupt, repair the table.
    For example: root : ~> # mysql mysql> use cbfmradi_cp mysql> show tables; Check if table cp_wfBadLeechers exists. Also, use --skip-lock-tables parameter with mysqldump to skip lock tables, check if that dumps the database properly..
    0
  • solcomputers
    Hi, 1. mysql is the owner of /var/lib/mysql, permission is 0751. 2. The tables appear to exist when running show tables against the affected databases. 3. Think this is ok. 4. I've already tried repairing the database tables with phpmyadmin without success. These databases were all converted to InnoDB a while ago and I have the .frm files for them, but not the .ibd files. Can I recreate the tables from the .frm files?
    0
  • cPanelMichael
    These databases were all converted to InnoDB a while ago and I have the .frm files for them, but not the .ibd files. Can I recreate the tables from the .frm files?

    Hello, You could try repairing InnoDB using the guide at: However, if data was lost, it's possible you may need to recreate those tables with help from the developers of the scripts they are associated with. We provide a list of companies offering system admin services if you need help doing that: Thank you.
    0

Please sign in to leave a comment.