----- Original Message ----- From: "Mike Blonder" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 12, 2004 4:30 PM Subject: Re: [midgard-user] reply to Message ID <40A242D7.25283.17A1D09%20()%20localhost> Problems Installing Latest Asgard
> On Wednesday 12 May 2004 09:57, Piotras wrote: > > Mike Blonder <[EMAIL PROTECTED]> wrote: > > > repligard -a -i Asgard.xml.gz > > > > > > error message: > > > > > > repligard-CRITICAL **: Error in DB Connection > > > > > > What now? > > > > If there is correct username and his password in repligard.conf file, > > I am not sure of this. The repligard.conf file follows: > > <?xml version="1.0" encoding="ISO-8859-1" ?> [cut] > <Repligard xmlns="http://www.midgard-project.org/repligard/1.4"> > <!-- Database description --> > <!-- Path to optionally compressed Repligard schema file --> > <!-- Note that if you want to replicate whole sitegroup, then --> > <!-- religard_withsg.xml schema should be referenced here --> > <!-- instead of repligard.xml --> > <database > schema="/usr/local/share/midgard/repligard.xml" > name="midgard" > username="midgard" > password="midpass" the above is MySQL auth data ie. name = mysql database, username = mysql username, password = mysql user password. Namely you should be able to issue: # mysql -p midpass -u midgard midgard > encoding="ISO-8859-1" > blobdir="/var/www/midgardblobs" > /> > <!-- Login account description for Repligard operation --> > <!-- Always use 'username+sitegroup' when logging into specific sitegroup --> > <!-- because there is no information elsewhere for Repligard to choose --> > <!-- correct sitegroup if it is unspecified --> > <!-- Sitegroup administrators should login as 'username*sitegroup' --> > <login > username="asgard" > password="password" > /> The above is virtual DB auth data (ie SG). Initialy there is <login username="asgard" password="password" /> > > <!-- Use <include name="filename" /> to include another Repligard config file > --> > > <!-- Description of the exportable resources --> > <!-- > <replicate all="yes"/> > --> I'd uncomment the above so that it said: <replicate all="yes"/> Solt --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
