<html>
<body>
<br>
I think there can be incompatabilities between the version of PHP and
MySQL. PHP has to have the correct drivers loaded&nbsp; for the version
of MySQL you are using.<br><br>
Alison<br><br>
<br><br>
At 05:15 PM 13-10-13, you wrote:<br><br>
<blockquote type=cite class=cite cite="">Thanks for all this help. Is
there a best version of PHP and MySQL for Drupal 7?<br>
On Oct 12, 2013 11:04 PM, &quot;Alison&quot;
&lt;<a href="mailto:penguin@alisoncc.com">penguin@alisoncc.com</a>&gt;
wrote:
<dl>
<dd>Hi Steve,<br>

<dd>I had something similar a year or so back. IIRC the PDOException
message related to a PHP module not being loaded or an incorrect version
of PHP.<br>

<dd>Alison<br>
<br>
<br>

<dd>At 02:59 PM 13-10-13, you
wrote:<blockquote type=cite class=cite cite="">
<dd>Steve, You should try restarting the Mysql service.
<dd>if that does not help, check on the host you are trying to connect,
it shows localhost on the error, so is IP 127.0.0.1 bind to localhost
?<br>
<br>

<dd>On Sun, Oct 13, 2013 at 5:06 AM, Steve Kessler
&lt;<a href="mailto:skessler@denverdataman.com">
skessler@denverdataman.com</a>&gt; wrote: 
<dl>
<dd>I hope someone can help me with this problem because I am not sure
where to look and if its a server things or a Drupal thing. 
<dd>I cannot login into Drupal with any user.&nbsp; If I try and login
the site does nothing but reload.&nbsp; It does&nbsp; not even give an
error message.&nbsp; 
<dd>I got this error message once &quot; &quot;PDOException:
SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2) in lock_may_be_available() (line 167
of/opt/ee/<a href="http://hub.ellerslie.com/includes/lock.inc">
hub.ee.com/includes/lock.inc</a>).&quot;
<dd>I have emptied the sessions table and everything looks good. 
<dd>Any help is appreciated.&nbsp; 
<dd>Thanks, 
<dd>Steve 
<dd><font color="#888888">-- 
<dd>Steve Kessler 
<dd>Owner and Lead Consultant 
<dd>Denver DataMan, LLC 
<dd><a href="tel:303-587-4428">303-587-4428</a></font> 
<dd>-- 
<dd>[ Drupal support list |
<a href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]<br>
<br>
<br>
<br><br>

</dl>
<dd>-- 
<dd>Regards,
<dd>Vaibhav Jain 
<dd>-- 
<dd>[ Drupal support list |
<a href="http://lists.drupal.org/">http://lists.drupal.org/</a>
]</blockquote>
<dd>--
<dd>[ Drupal support list |
<a href="http://lists.drupal.org/">http://lists.drupal.org/</a>
]<br><br>
</dl>-- <br>
[ Drupal support list |
<a href="http://lists.drupal.org/" eudora="autourl">
http://lists.drupal.org/</a> ]</blockquote></body>
</html>