Page MenuHomePhabricator

GlobalBloking extension does not recognize the database server it's supposed to and crashes Mediawiki to the point you have to reinstall.
Closed, InvalidPublic

Description

I've been trying to install the GlobalBlocking extension on my wikis. I'm put in the database like usual, but when I load the extension, I get this
"(Can't contact the database server: Access denied for user 'techman224'@'infong776.lxa.perfora.net'(using password: YES) <url to database server not pubic>" nfong776.lxa.perfora.net is not a database server, it's a webserver which my mediawiki wiki is. And it's trying to connect to the real database server using that address. It should be the one the installaton's set in localsettings.php.
When the extension is loaded, I can't do nothing unless I unload the extension. That's why I've set it a higher severity. I know it says on the extension page that the database has to be on the same host, but if the database is external, it will block everyone trying to use it on a remote database.


Version: unspecified
Severity: critical

Details

Reference
bz16004

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:19 PM
bzimport set Reference to bz16004.

(In reply to comment #0)

I've been trying to install the GlobalBlocking extension on my wikis. I'm put
in the database like usual, but when I load the extension, I get this
"(Can't contact the database server: Access denied for user
'techman224'@'infong776.lxa.perfora.net'(using password: YES) <url to database
server not pubic>" nfong776.lxa.perfora.net is not a database server, it's a
webserver which my mediawiki wiki is. And it's trying to connect to the real
database server using that address. It should be the one the installaton's set
in localsettings.php.
When the extension is loaded, I can't do nothing unless I unload the extension.
That's why I've set it a higher severity. I know it says on the extension page
that the database has to be on the same host, but if the database is external,
it will block everyone trying to use it on a remote database.

I little update. After unloading the extension, I get the same problem, and I never had this problem before I loaded the extension. Something with this extension has crashed Mediawiki to the point I have to reinstall.

(In reply to comment #1)

(In reply to comment #0)

I've been trying to install the GlobalBlocking extension on my wikis. I'm put
in the database like usual, but when I load the extension, I get this
"(Can't contact the database server: Access denied for user
'techman224'@'infong776.lxa.perfora.net'(using password: YES) <url to database
server not pubic>" nfong776.lxa.perfora.net is not a database server, it's a
webserver which my mediawiki wiki is. And it's trying to connect to the real
database server using that address. It should be the one the installaton's set
in localsettings.php.
When the extension is loaded, I can't do nothing unless I unload the extension.
That's why I've set it a higher severity. I know it says on the extension page
that the database has to be on the same host, but if the database is external,
it will block everyone trying to use it on a remote database.

I little update. After unloading the extension, I get the same problem, and I
never had this problem before I loaded the extension. Something with this
extension has crashed Mediawiki to the point I have to reinstall.

I just tried to reinstall mediawiki, and it failed. Soemthing in the extension caused this.

I now think that you can reinstall it, and that it's not caused by the extension, and it's a database problem, downgrading the bug.