Tech List

[index] [prev] [next] [options] [help]
See the Mailing Lists Page for how to subscribe and unsubscribe.

eprints_tech messages

Please note: this page shows emails that have been sent to the eprints_tech mailing list. Some of these may be spam emails we have failed to filter.

Re: [EP-tech] How to overcome "Access denied for user" error when using epadmin reload command?

From: Tim Brody <tdb01r AT ecs.soton.ac.uk>
Date: Tue, 30 Sep 2008 13:37:32 +0100


Threading: Re: [EP-tech] How to overcome "Access denied for user" error when using epadmin reload command? from yurj AT alfa.it
      • This Message

*** 
http://www.eprints.org/tech.php/id/%3C1222778252.15510.16.camel%40dell-desktop.example.com%3E
*** EPrints community wiki - http://wiki.eprints.org/

On Tue, 2008-09-30 at 12:30 +0100, Alex Birchall wrote:
> *** 
http://www.eprints.org/tech.php/id/%3CEMEW-k8YCVO533d905ed30d5c364c001aad02b046ef-45FD7C69E1B7C94F8980D6569D68657E7C31D9%40MDX-CLX-DC1.uni.mdx.ac.uk%3E
> *** EPrints community wiki - http://wiki.eprints.org/
> 
> Hi All,
> 
> I'd like to reload the repository configuration on my backup EPrints
> server, but I'm getting the following error:
> 
> eprints AT mdxrep1:/opt/eprints3/bin$ /opt/eprints3/bin/epadmin reload
> mdxrep1
> DBI connect('database=mdxrep1;host=localhost','mdxrep1',...) failed:
> Access denied for user 'mdxrep1' AT 'localhost' (using password: YES) at
> /opt/eprints3/perl_lib/EPrints/Database.pm line 249

Are you also duplicating the database?

You will either need to duplicate the database (+ permissions) or tell
EPrints to connect to your live database.

You can change your database settings by doing this:
./bin/epadmin config_db [repoid]

Or create a database with the current settings:
./bin/epadmin create_db [repoid]

All the best,
Tim.


[index] [prev] [next] [options] [help]