-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
occ maintenance:install fails using MySQL with SSL enabled #19738
Copy link
Copy link
Closed
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap25-feedbackbugfeature: databaseDatabase related DBDatabase related DBfeature: install and updatepending documentationThis pull request needs an associated documentation updateThis pull request needs an associated documentation update
Description
Activity
Metadata
Metadata
Assignees
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap25-feedbackbugfeature: databaseDatabase related DBDatabase related DBfeature: install and updatepending documentationThis pull request needs an associated documentation updateThis pull request needs an associated documentation update
Hello everyone,
The installation process fails directly when I enforce SSL for MySQL.
Steps to reproduce
CREATE USER ... REQUIRE SSLconfig.phpto tell the driver the certificates' locationUse occ to install
Actual behaviour
The installation fails with
and
occ maintenance:installmodifies theconfig.phpfile, turning this part:into
If I do the installation without enforcing SSL for MySQL, and that I define
REQUIRE SSLfor SQL user anddbdriveroptionsAFTER INSTALLATION , everything works fine.Expected behaviour
It should connect to mySQL server using SSL options defined in
config.php