Matt Tobin | 14 Oct 17:27 2010

Re: Fatal Error: Failed to Connect to database

Message: 1
Date: Mon, 11 Oct 2010 18:54:22 -0400
From: Matt Tobin<matt.tobin <at>>
Subject: [MRBS-general] Fatal Error: Failed to Connect to database
To:mrbs-general <at>
Message-ID:<4CB3959E.6000001 <at>>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I am having trouble getting the mrbs up and running on a 10.6 Apple
Server.  I've installed Apache / MySQL and PHP correctly and
verified.(even phpinfo has a MySQL section, however 0 Active Persistent
Links and 0 Active Links...if that matters)

in MySQL: created database mrbs
                   : imported the
                   : created user mysqladmin with grant all priveleges *.*
for 'mysqladmin' <at> 'localhost' and 'mysqladmin' <at> '%'

on command line: edited ->   dbsys='mysql',
db_host=localhost, db_database = mrbs, db_login='mysqladmin',

I have installed MySQL Administrator and can successfully log in with my
accounts, given myself full rights to modify the mrbs database.


when I browse tohttp://localhost/mrbs  I get:

Fatal Error: Failed to connect to database

(yes, a q)
any suggestions?


Message: 2
Date: Tue, 12 Oct 2010 08:00:18 +0100
From: "Campbell Morrison"<campbell.morrison <at>>
Subject: Re: [MRBS-general] Fatal Error: Failed to Connect to database
To: "'General purpose list \(support/developers/users\)'"
	<mrbs-general <at>>
Message-ID:<4cb40786.a0ebd80a.2403.1ca6 <at>>
Content-Type: text/plain;	charset="us-ascii"

I can't explain the 'q'.    The only thing I can think is that your
installation is somehow corrupted.   I'd suggest reloading a vanilla
installation (or else trying the 1.4.5 release candidate  ).


Hey Campbell,

   Thanks for your advice.  It appears that the problem was solved by changing

$db_host = 'localhost';
$db_host = '';

I suspect this is partially to do with it being a mac computer, as well as having the wiki server feature enabled.
Thanks for the suggestions though!


Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
mrbs-general mailing list
mrbs-general <at>
Want to unsubscribe: mailto:mrbs-general-request <at>