EPrints Technical Mailing List Archive

Message: #00311


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] "Failed to connect to database" error after transferring repository to another server


Hi,

I am getting this error after I transferred the repository to another server using a tried and tested procedure:
-
eprints@veprints:~/bin$ ./epadmin upgrade mdxrep1
DBI connect('database=mdxrep1;host=localhost','eprints',...) failed: Access denied for user 'eprints'@'localhost' (using password: YES) at /usr/share/eprints3/bin/../perl_lib/EPrints/Database.pm line 245

Middlesex University Research
Repository has encountered an error:
Failed to connect to database
Failed to load repository: mdxrep1
-

There is an eprints user in MySQL and I have granted this user the same rights as root to all databases.

Any suggestion most gratefully received.

Thanks.

Alex


Alexander J Birchall
Library Systems Manager
The Shepppard Library
Middlesex University
The Burroughs
London NW4 4BT

Tel +44 (0) 208 411 5235
Mob 07765 237 570