Problems with databases after dist-upgrade

Discussion in 'Installation/Configuration' started by fra1, Jun 7, 2021.

  1. fra1

    fra1 New Member

    Screenshot at 2021-06-07 05-54-39.png Goodmorning everyone.
    I have upgraded Debian from 9 to 10.
    The mariadb database no longer recognizes the databases and the "collation" is always in the "use" state.
    Only the ISPConfig database had no backlash and works perfectly, but everything else doesn't work. View attachment 6762
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  3. till

    till Super Moderator Staff Member ISPConfig Developer

    First, make a backup of all mysql databases. You can do that e.g. by stopping MySQL and then making a copy of the whole /var/lib/mysql folder. Then start MySQL again. Afterwards, try to repair the databases using 'mysqlcheck' command. Example:

    mysqlcheck --defaults-file=/etc/mysql/debian.cnf --all-databases --optimize --auto-repair --silent
     
  4. fra1

    fra1 New Member

  5. fra1

    fra1 New Member

    Hi dear Mr. Till,
    I report that all tables not exist in databases.

    Example:
    c161.wp_options
    Error : Table 'c161.wp_options' doesn't exist in engine
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, but they still show up in phpmyadmin?
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    That's because your issue is not ISPConfig related. The reason for your issue seems to be damaged MySQL database files.
     
  8. fra1

    fra1 New Member

    Is there a solution to solve this problem?
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    Please answer my question from post #6.
     
  10. fra1

    fra1 New Member

    Yes sir, they are still showing in phpmyadmin.
     

Share This Page