You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Upgrade to 0.11.0 can't connect to SQL anymore #1368
I am not sure what you mean - I only changed the entries above to keep the secret. Until now all upgrades worked easyly.
Ich weiß nicht, genau, weas Du meinst, ich habe oben nur die Angaben gestrichelt, damit die Werte nicht sichtbar sind. Bis jetzt haben alle Upgrades problemlos funktioniert.
I can reproduce the issue with the exact same problem. Copied v0.11.0 from GitHub, copied my baikal.yml from my old instance and tried to access Baikal in the browser:
Baïkal was not able to establish a connexion to the configured MySQL database (as configured in config/baikal.yaml).
(By the way, there is a typo in “connextion”, it should be “connection”.)
Sorry for bumping this topic.
But i have the same issue, i upgrade to the latest version (0.11.1).
I added mysql_ca_cert: '' to the config file and get still this error
Baïkal was not able to establish a connection to the configured MySQL database (as configured in config/baikal.yaml).
I ran into this issue as well (version 0.12.1). And could not find any errors in the apache/php logs. I fixed it with the following, hope it helps someone!
I edited Core/Frameworks/Flake/Framework.php addin on line 341:
var_dump($e->getMessage());
Apparently PDO could not find MySQL driver.
Check if it is installed: php -m | grep -iE 'PDO|pdo_mysql'
For me it was. Yet I had to run the following to enable it:
sudo phpenmod -v 8.2 pdo_mysql
sudo service apache2 restart
So it was not a Baikal issue, but probably a package upgrade that caused this.
Activity
WeT-Klb commentedon Nov 30, 2025
After I replaced all folders but "config" and "Specific" I get this message:
Baïkal was not able to establish a connexion to the configured MySQL database (as configured in config/baikal.yaml).
I didn't change anything in that folder.
When I bring back the "old" folders my Baikal works like it should.
The yaml file looks like this:
system:
configured_version: 0.10.1
timezone: Europe/Berlin
card_enabled: true
cal_enabled: true
dav_auth_type: Digest
admin_passwordhash: ----------------------------------------- (only removed here)
failed_access_message: 'user %u authentication failure for Baikal'
auth_realm: BaikalDAV
base_uri: ''
invite_from: noreply@192.168.1.241
database:
sqlite_file: /share/CACHEDEV1_DATA/Web/baikal/Specific/db/db.sqlite
backend: mysql
mysql_host: 'localhost:3306'
mysql_dbname: Baikal
mysql_username: ----------------------------------------- (only removed here)
mysql_password: ----------------------------------------- (only removed here)
encryption_key: ----------------------------------------- (only removed here)
pgsql_host: ''
pgsql_dbname: ''
pgsql_username: ''
pgsql_password: ''
ByteHamster commentedon Nov 30, 2025
@mestrode please take a look, you recently changed MySQL auth
WeT-Klb commentedon Nov 30, 2025
I am not sure what you mean - I only changed the entries above to keep the secret. Until now all upgrades worked easyly.
Ich weiß nicht, genau, weas Du meinst, ich habe oben nur die Angaben gestrichelt, damit die Werte nicht sichtbar sind. Bis jetzt haben alle Upgrades problemlos funktioniert.
MatzeKitt commentedon Nov 30, 2025
I can reproduce the issue with the exact same problem. Copied v0.11.0 from GitHub, copied my
baikal.ymlfrom my old instance and tried to access Baikal in the browser:(By the way, there is a typo in “connextion”, it should be “connection”.)
MatzeKitt commentedon Nov 30, 2025
Quick fix: You need to add the entry
mysql_ca_certto yourbaikal.yml:WeT-Klb commentedon Nov 30, 2025
Thank you so much - I just did what you suggested and added
mysql_ca_cert: ''
to my baikal.yaml and the upgrade worked like before.
:-)
somakuna commentedon Nov 30, 2025
Thank you, it works! 👍
Joulinar commentedon Nov 30, 2025
I can confirm the workaround as well.
Joulinar commentedon Nov 30, 2025
@ByteHamster I can confirm, issue has been fixed with v0.11.1 👍
mestrode commentedon Nov 30, 2025
Sorry, this was my fault. Thank you for the fast fix! @ByteHamster
Citroene commentedon Jan 23, 2026
Sorry for bumping this topic.
But i have the same issue, i upgrade to the latest version (0.11.1).
I added mysql_ca_cert: '' to the config file and get still this error
Baïkal was not able to establish a connection to the configured MySQL database (as configured in config/baikal.yaml).My config file:
rubenvandeven commentedon Oct 25, 2026
I ran into this issue as well (version 0.12.1). And could not find any errors in the apache/php logs. I fixed it with the following, hope it helps someone!
I edited
Core/Frameworks/Flake/Framework.phpaddin on line 341:Apparently PDO could not find MySQL driver.
Check if it is installed:
php -m | grep -iE 'PDO|pdo_mysql'For me it was. Yet I had to run the following to enable it:
So it was not a Baikal issue, but probably a package upgrade that caused this.