<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Out of curiosity (and something
common), have you verified that your settings.php file is correct?
Best thing to do is to verify the settings in $databases by going
into a shell and entering:<br>
<br>
mysql -u {username from settings.php} -p{password from
settings.php} -h {host from settings.php}<br>
<br>
(note - there is no space between -p and the actual password,
unlike all other attributes)<br>
<br>
If that opens up then type in:<br>
<br>
use {database name from settings.php};<br>
<br>
(don't forget the ; at the end. If you do then just enter \g)<br>
<br>
Another quick and easy check. Go to your webroot and enter:<br>
<br>
php index.php<br>
<br>
That will show the errors, along with the HTML. See if you get the
same error. PHP uses different configurations for the command line
and everything else, so if you don't get the error then the
problem is in your php.ini file.<br>
<br>
You can also try looking in your MySQL error logs for more
information. On RedHat/CentOS they should be in
/var/log/mysqld.log.<br>
<br>
<br>
<pre class="moz-signature" cols="72">Jamie Holly
<a class="moz-txt-link-freetext" href="http://hollyit.net">http://hollyit.net</a></pre>
On 10/13/2013 4:06 AM, Alison wrote:<br>
</div>
<blockquote cite="mid:20131013080626.0D03F201DF2@websvr.acc9.net"
type="cite">
<br>
I am currently running PHP 5.3.3 with the MySQL Client API 5.1.69.
The
Client details are displayed in phpinfo(). MySQL is ver 14.14
Distribution 5.1.69 for Redfhat X86_64<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, "Alison"
<<a moz-do-not-send="true" href="mailto:penguin@alisoncc.com">penguin@alisoncc.com</a>>
wrote:
<dl>
<dd>Hi Steve,
</dd>
<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.
</dd>
<dd>Alison<br>
<br>
</dd>
<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>
<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>
</dd>
<dd>On Sun, Oct 13, 2013 at 5:06 AM, Steve Kessler
<<a moz-do-not-send="true"
href="mailto:skessler@denverdataman.com">
skessler@denverdataman.com</a>> 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>
<dd>I cannot login into Drupal with any user. If I
try and login
the site does nothing but reload. It does not even
give an
error message. </dd>
<dd>I got this error message once " "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 moz-do-not-send="true"
href="http://hub.ellerslie.com/includes/lock.inc">
hub.ee.com/includes/lock.inc</a>)." </dd>
<dd>I have emptied the sessions table and everything
looks good. </dd>
<dd>Any help is appreciated. </dd>
<dd>Thanks, </dd>
<dd>Steve </dd>
<dd><font color="#888888">-- </font></dd>
<dd><font color="#888888">Steve Kessler </font></dd>
<dd><font color="#888888">Owner and Lead Consultant </font></dd>
<dd><font color="#888888">Denver DataMan, LLC </font></dd>
<dd><font color="#888888"><a moz-do-not-send="true"
href="tel:303-587-4428">303-587-4428</a></font>
</dd>
<dd>-- </dd>
<dd>[ Drupal support list |
<a moz-do-not-send="true"
href="http://lists.drupal.org/">http://lists.drupal.org/</a>
]<br>
<br>
<br>
<br>
<br>
</dd>
</dl>
</dd>
<dd>-- </dd>
<dd>Regards, </dd>
<dd>Vaibhav Jain </dd>
<dd>-- </dd>
<dd>[ Drupal support list |
<a moz-do-not-send="true"
href="http://lists.drupal.org/">http://lists.drupal.org/</a>
]</dd>
</blockquote>
</dd>
<dd>-- </dd>
<dd>[ Drupal support list |
<a moz-do-not-send="true" href="http://lists.drupal.org/">http://lists.drupal.org/</a>
]<br>
<br>
</dd>
</dl>
-- <br>
[ Drupal support list |
<a moz-do-not-send="true" href="http://lists.drupal.org/"
eudora="autourl">
http://lists.drupal.org/</a> ]</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>