A partial archive of https://discourse-mediawiki.wmflabs.org as of Saturday May 21, 2022.

upgrade/install of 1.30.0 over 1.28.1 fails mysql ssl connection

seccentral

Hey,

I am currently on 1.28.1 attempting update to 1.30.0 using a db backend with ssl required.

my wiki vps os is debian 8 updated to latest packages.

If i leave my previous LocalSettings.php in the root folder i get

[93f135981d2034ebf2c31945] 2018-03-26 12:28:44: Fatal exception of type “Wikimedia\Rdbms\DBQueryError”

If i try to update using /mw-config url, after i input db settings from my old LocalSettings.php I get

Cannot access the database: Access denied for user ‘mediawiki_user’@’<MY_WIKI_HOSTNAME>’ (using password: YES) (ACTUAL_MYSQL_SERVER_HOSTNAME).

Check the host, username and password and try again.

My sql server is configured to accept only ssl sessions for this user. I guess that’s the problem the installer is having.

Just to be clear, connecting using ssl from the shell to the mysql server works fine. I just did a backup previous to update using shell mysqldump.

wargo

https://www.mediawiki.org/wiki/Manual:$wgDBssl