Re: mySQL connect
| From: | Philip Olson | Date: | Wed, 15 Nov 2000 19:41:43 +0000 |
| Subject: | Re: mySQL connect | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-4449@lists.php.net to get a copy of this message | ||
Hey Jeff-
This is not a mysql_connect issue, this is most likely a mysql daemon
issue. I really don't deal with side of things enough to really help you
but do know you are connecting correctly thru mysql_connect. Check out :
http://www.faqts.com/knowledge-base/view.phtml/aid/3948/fid/13
You will find a few possible answers to your question. Actually, if you
do a search for 'mysql.sock' on faqts.com you will see other potential
solutions as well. Good luck :-)
Philip
--
be outside the box.
On Wed, 15 Nov 2000, Jeff Moss wrote:
> I have tried everything that I know to try and am open for suggestions. I
> usually get the following when trying to connect:Warning: MySQL Connection
> Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock'
> (111)
> I have used:
> mysql_connect(localhost, root)
> mysql_connect(localhost, username, password)
> mysql_connect(sql.host.com, username, password)
> and various other commands
> HELP!
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>