EPrints Technical Mailing List Archive
Message: #00315
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: "Failed to connect to database" error after transferring repository to another server
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: "Failed to connect to database" error after transferring repository to another server
- From: Mark Gregson <mark.gregson@qut.edu.au>
- Date: Mon, 2 Apr 2012 09:43:02 +1000
Only fairly obvious ones: 1. Is the password correct? 2. Did you 'flush privileges' in MySQL? Cheers Mark Mark Gregson | Application and Development Team Leader Library eServices | Queensland University of Technology Level 2 | I Block | Kelvin Grove Campus | GPO Box 2434 | Brisbane 4001 Phone: +61 7 3138 3782 | Web: http://eprints.qut.edu.au/ ABN: 83 791 724 622 CRICOS No: 00213J -----Original Message----- From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Alex Birchall Sent: Friday, 30 March 2012 9:53 PM To: eprints-tech@ecs.soton.ac.uk Subject: [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 *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/
- References:
- [EP-tech] "Failed to connect to database" error after transferring repository to another server
- From: Alex Birchall <a.birchall@mdx.ac.uk>
- [EP-tech] "Failed to connect to database" error after transferring repository to another server
- Prev by Date: [EP-tech] Re: sitemap creation
- Next by Date: [EP-tech] Namespace information stripped from templates
- Previous by thread: [EP-tech] "Failed to connect to database" error after transferring repository to another server
- Next by thread: [EP-tech] Namespace information stripped from templates
- Index(es):