Reply to Re: Can't connect to MySQL server on 'localhost' (10061)

Your name:

Reply:


Posted by Tony on 05/28/05 00:16

<pieter_hordijk@hotmail.com> wrote in message
news:1117215914.314713.220490@f14g2000cwb.googlegroups.com...
> Hi all,
>
>
> When i try to run a simple PHP script like:
> mysql_connect("localhost", "root", "password") or die (mysql_error());
> I get the following error:
> Can't connect to MySQL server on 'localhost' (10061)
>
> I've tried several different addresses like: localhost, 127.0.0.1,
> server01, 192.168.0.3 all with same result.

Have you tried plugging in the phrase (in quotes) to Google?

This is a fairly common problem with an easy fix posted on the MySQL manual
pages.

Go to Google & put in: "Can't connect to MySQL server on 'localhost'"
(quotes included) - the answer is one of the top two responses.

It has to do with the passwords & latest versions of MySQL - the page on the
MySQL site you find will tell you how to fix it.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация