Re[2]: [PHP] Can't connect to local MySQL server through socket.. ?
| From: | Richard Davey | Date: | Thu, 09 Jun 2005 18:25:17 +0000 |
| Subject: | Re[2]: [PHP] Can't connect to local MySQL server through socket.. ? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-216752@lists.php.net to get a copy of this message | ||
Hello afan,
Thursday, June 9, 2005, 7:18:46 PM, you wrote:
aan> According to Google, my MySQL db is not on secure.inetwave.com
aan> server and have to use "something else" instead of "localhost"
aan> for host in mysql_connect(), right?
Sure.. you could the domain name of the server that MySQL is really
on, or its IP address.
But they might have locked MySQL down so that you cannot access it
remotely - you need to ask them.
Best regards,
Richard Davey
--
http://www.launchcode.co.uk - PHP Development Services
"I do not fear computers. I fear the lack of them." - Isaac Asimov