[support] lock.inc problem? -

Aissatou aissatou8 at aol.com
Tue May 17 19:41:53 UTC 2011



 Hi, this look like your database settings are incorrect. Check your settings.php and make sure that userid and password match your root user or connect to your database (phpMyAdmin) and check that the user on the settings.php exist and has the right permission.

Hopefully this will help.

 

Aissatou Diallo

 

 

-----Original Message-----
From: Dave Stevens <geek at uniserve.com>
To: support <support at drupal.org>; Dave Stevens <geek at uniserve.com>
Sent: Tue, May 17, 2011 2:21 pm
Subject: [support] lock.inc problem? -


Hi,

I'm getting an error accessing my transferred drupal 7 site, like this:

"PDOException: SQLSTATE[28000] [1045] Access denied for user 
'ecobc.net'@'localhost' (using password: YES) in lock_may_be_available() (line 
165 of /home/ecobc/public_html/drupal/drupal-7.0/includes/lock.inc)."

Background is that I had a virtual private server using OpenVZ and there were 
errors in the vm configuration. Since the site was not live it seemed easier 
to back up the site and then reinitialise the CentOS instance (5.6 up-to-date) 
and restore the backup. So I've done that. I use Virtualmin for backup and 
restore and have used it successfully before.

As soon as I attempt to access the restored site I get the message above. I've 
looked at the lock.inc code and the specified line, 165, is the beginning of 
the cited module (lock_may_be_available).

So is this a permission issue? or what?

Advice solicited and welcome.

Dave


-- 
Let us think the unthinkable, let us do the undoable, let us prepare to 
grapple with the ineffable itself, and see if we may not eff it after all.

Douglas Adams in one of the Hitchiker novels...
-- 
[ Drupal support list | http://lists.drupal.org/ ]

 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20110517/2873813c/attachment.html 


More information about the support mailing list