Didn't help. I get the same error.
On Sat, Apr 06, 2019 at 11:25:37PM +0200, [[kgh]] wrote:
Comletely remove
$wgDBport = "5432";
and see if it works.
Am 06.04.19 um 23:15 schrieb Mike Brown:
I'm upgrading a MediaWiki 1.30 installation to 1.32.
I already updated my backend from MySQL 5.6.40 to 5.7.25 and ran mysql_upgrade. I also replaced PHP 5.6.36 with PHP 7.2.17.
I installed MW 1.32.0 and am now trying to run the update.php script in the maintenance directory. I get the following error:
MediaWiki 1.32.0 Updater
Your composer.lock file is up to date with current dependencies! [20cebd8c9a3916038d1b3632] [no req] UnexpectedValueException from line 961 of /usr/local/www/mediawiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php: Got connection to 'OffsetDB-mw_', but expected local domain ('OffsetDB-mediawiki-mw_'). Backtrace: #0 /usr/local/www/mediawiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php(890): Wikimedia\Rdbms\LoadBalancer->openLocalConnection(integer, integer) #1 /usr/local/www/mediawiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php(766): Wikimedia\Rdbms\LoadBalancer->openConnection(integer, boolean, integer) #2 /usr/local/www/mediawiki/includes/GlobalFunctions.php(2694): Wikimedia\Rdbms\LoadBalancer->getConnection(integer, array, boolean) #3 /usr/local/www/mediawiki/maintenance/Maintenance.php(1353): wfGetDB(integer, array, boolean) #4 /usr/local/www/mediawiki/maintenance/update.php(147): Maintenance->getDB(integer) #5 /usr/local/www/mediawiki/maintenance/doMaintenance.php(94): UpdateMediaWiki->execute() #6 /usr/local/www/mediawiki/maintenance/update.php(248): require_once(string) #7 {main}
My db config vars haven't changed. Nothing too bizarre...
$wgDBtype = "mysql"; $wgDBserver = "localhost"; $wgDBname = "OffsetDB"; $wgDBport = "5432"; $wgDBprefix = "mw_";
How can I get past the error? Or let me know what other info to provide to help diagnose. Thanks!
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l