sabre-io / Baikal

Baïkal is a Calendar+Contacts server
https://sabre.io/baikal/
GNU General Public License v3.0
2.44k stars 282 forks source link

External mysql does not find driver #1219

Closed jogalt closed 4 months ago

jogalt commented 9 months ago

Baikal version: 0.9.4

Linux version: Oracle 8 with DISA STIG, SELINUX is permissive, FAPOLICYD is disabled

Expected behaviour: Baikal should use the underlying mysql driver to connect to external database.

Current behaviour: Validation error MySQL error: could not find driver

Steps to reproduce:

  1. When setting up the database, check the box for Use MySQL
  2. Input external database config
  3. Receive the above error

Extra validation: I tested the connection from the CLI to the external database using the preconfigured baikal credentials and the connection worked.

ByteHamster commented 4 months ago

Baikal needs the PHP MySQL driver, not just the command line interface. If you install that, it should be good to go.