Re: Can't connect to local MySQL server through socket.. ?
| From: | afan@afan.net | Date: | Thu, 09 Jun 2005 18:25:35 +0000 |
| Subject: | Re: Can't connect to local MySQL server through socket.. ? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-216753@lists.php.net to get a copy of this message | ||
Just as I thought :(
Thanks Richard.
-afan
Richard Davey wrote:
Hello afan, Thursday, June 9, 2005, 7:07:26 PM, you wrote: aan> I have an admin area for one page on shared hosting. And I wanted to aan> protect it by shared SSL from my hosting company. I got from them aan> Your domain, afan.net, can now access our shared SSL certificate. aan> To securely access the documents folder, go to ... aan> I'm getting Warning: aan> *Warning*: mysql_connect(): Can't connect to local MySQL server through Sounds to me like their SSL server is a different box to their web server. This isn't uncommon practise and would explain a MySQL connect error. MySQL doesn't care less if you're the PHP script was accessed via HTTP or HTTPS. You ought to call their tech support department to be honest. Best regards, Richard Davey