Incompatible database

Discussion in 'Installation/Configuration' started by zustudios, Apr 28, 2020.

  1. zustudios

    zustudios Member

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I have a server based on that setup here and client limits and Billing Module are working on that system as far as I can see, then guide installs MariaDB. Maybe you installed a newer MariaDB version or MySQL instead when you encounter issues. Another possibility is that you enabled some strict modes in MariaDB, which might cause similar issues to using a newer MariaDB version.
     
  3. zustudios

    zustudios Member

    How do I fix it or do I have to reinstall? What information do you need?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you follow the guide to the letter or did you install different or newer software versions? Which exact database version do you have installed?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    What you can try when you use MariaDB is this, set:

    sql_mode=NO_ENGINE_SUBSTITUTION

    in /etc/mysql/mariadb.conf.d/50-server.cnf

    inside the [mysqld] section and restart MariaDB.
     
  6. zustudios

    zustudios Member

    I followed it to the letter.
    I'm having a hard time finding sql_mode=NO_ENGINE_SUBSTITUTION in that file.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    You can not find it there because you shall add it :)
     
  8. zustudios

    zustudios Member

    LOL. it worked.
     
    till likes this.
  9. zustudios

    zustudios Member

    I put the code in now my roundcube won't load.
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Check the webserver error.log to find out why.
     
  11. zustudios

    zustudios Member

    What is the path of the log?
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    You'll probably find it in /var/log/apache2/error.log

    But I don't think that the RoundCube error is caused by that MySQL setting, it probably is related to something else that was changed or configured on the server.
     
  13. zustudios

    zustudios Member

    It's working now. I don't know why it wasn't working.
     

Share This Page