Thread:Extension talk:Simple Farm/Is there a way to make this use the same database for the wikis?/reply (19)

The database now seems to be created, but I get a message saying that there is no farm member at the wiki location.

http://battlefield.mywiki.ssu.lt/Main_Page

I have this listed in the farm members file:

array(               'name' => 'Battlefield_Wiki',                'db' => 'wikihost_mywikiBattlefield',                'addresses' => array( 'battlefield.mywiki.ssu.lt' ),                'maintain' => false,        ),

I have the database user set to use all the databases with the same prefix, so it works for all of them. Do I still need to set the user in this file?

EDIT

I'm getting a database error, even though I've added this:

array(               'name' => 'Battlefield_Wiki',                'wgDBprefix' => '',                'db' => 'wikihost_mywikiBattlefield',                'addresses' => array( 'battlefield.mywiki.ssu.lt' ),                'maintain' => false,        ),

EDIT

For some reason, it won't let me set database prefix per wiki.