MySQL connection problem.

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
ian163
Forum Newbie
Posts: 7
Joined: Fri May 02, 2008 8:55 am

MySQL connection problem.

Post by ian163 »

After installing Apache, PHP and MySQL. When I try to start MySQL from DOS base, I found a below error message : -
E:\WebServer\mysql\bin>mysql
ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)

Please help me ....... :banghead:

Thanks ...
User avatar
novice4eva
Forum Contributor
Posts: 327
Joined: Thu Mar 29, 2007 3:48 am
Location: Nepal

Re: MySQL connection problem.

Post by novice4eva »

Did you run apache first??
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: MySQL connection problem.

Post by VladSun »

novice4eva wrote:Did you run apache first??
8O
There are 10 types of people in this world, those who understand binary and those who don't
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: MySQL connection problem.

Post by VladSun »

You have to start the MySQL service first.
There are 10 types of people in this world, those who understand binary and those who don't
User avatar
novice4eva
Forum Contributor
Posts: 327
Joined: Thu Mar 29, 2007 3:48 am
Location: Nepal

Re: MySQL connection problem.

Post by novice4eva »

:oops: sorry my focus was only on localhost and read the prob like couldn't connect to localhost NO EXCUSES though
:mrgreen: but i was thinking of avoiding it by saying something like "ya i wanted to know if only apache was turned on and left the mysql server as it is ". Would have been a cheap shot :twisted:
Post Reply