By Cyrus-1 on
Anyone have any ideas? I followed the install instructions to a T. When I access my Drupal page at http://www.cyruspatten.com/drupal this is the error I get:
"Lost connection to MySQL server during query"
Thanks in advance for your help!
Cyrus
Comments
I figured it out thanks!
I figured it out thanks!
What did you figure out?
What did you figure out? Cuz I'm having the same problem. Thanks.
Problem Solving
I did have the same error and I have solve my problem by doing this:
Look at the file 'sites/default/settings.php'
In the line:
$db_url = "mysql://username:password@localhost/database";
DO NOT change localhost with your domain.
That's it and good luck.
localhost was the key
i had put in the actual db server name, but that gave the error. using "localhost" did the trick.
it's weird; on another host service i use, i put in the domain of the db server. i guess it's a server config thing beyond the ken of us mere user types.
that doesnt fix it for me
I have my server set to localhost, but I still get this error when i load my pages sometimes.
My settings say MYSQLHOST
I am on a Netfirms host plan and my setting is MYSQLHOST.
Can I change it to localhost?
contact your hosting service
i finally had to contact support at Dreamhost, and they did something to fix me. i think because i moved an entire site rather than install from scratch, something didn't go right. of course, i had done that before, so who knows. anyway, if you can't find an actual answer in here, save yourself time & grief and contact tech support.