<font color='black' size='2' face='Arial, Helvetica, sans-serif'><font size="2" color="black" face="Arial, Helvetica, sans-serif">

<div style="font-family:arial,helvetica;font-size:10pt;color:black">


<div id="AOLMsgPart_1_039bb5c5-3e39-4401-80ab-d21754aa226f">

<font size="2" color="black" face="Arial, Helvetica, sans-serif"><font size="2" color="black" face="Arial, Helvetica, sans-serif">



<div> <font face="Georgia, Times New Roman, Times, Serif">Hi, this look like your database settings are incorrect. Check your <font color="darkslategray"><i>settings.php</i></font> and make sure that userid and password match your root user or connect to your database (phpMyAdmin) and check that the user on the <font color="darkslategray"><i>settings.php</i></font> exist and has the right permission.<br>
<br>
Hopefully this will help.<br>
</font>


</div>
<font face="Georgia, Times New Roman, Times, Serif">





</font>
<div> <br>



</div>







<div style="clear:both"><font face="Georgia, Times New Roman, Times, Serif">Aissatou Diallo</font><br>



</div>







<div> <br>



</div>







<div> <br>



</div>







<div style="font-family:arial,helvetica;font-size:10pt;color:black">-----Original Message-----<br>



From: Dave Stevens &lt;geek@uniserve.com&gt;<br>



To: support &lt;support@drupal.org&gt;; Dave Stevens &lt;geek@uniserve.com&gt;<br>



Sent: Tue, May 17, 2011 2:21 pm<br>



Subject: [support] lock.inc problem? -<br>



<br>













<div id="AOLMsgPart_0_7a4a6a41-cb62-4f59-81c8-29ab3d8b57fd" style="margin: 0px;font-family: Tahoma, Verdana, Arial, Sans-Serif;font-size: 12px;color: #000;background-color: #fff;">

<pre style="font-size: 9pt;"><tt>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 | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]
</tt></pre>
</div>



 <!-- end of AOLMsgPart_0_7a4a6a41-cb62-4f59-81c8-29ab3d8b57fd -->



</div>



</font></font>
</div>

 <!-- end of AOLMsgPart_1_039bb5c5-3e39-4401-80ab-d21754aa226f -->
</div>

</font></font>