Quantcast
Channel: MySQL Forums - Install & Repo
Viewing all articles
Browse latest Browse all 7247

Can't connect to Mysql via cmd prompt (6 replies)

$
0
0
I have Vista,
mysql is installed at c:\program files\mysql\mysql server 4.1
php is at c:\php and is v.5.2.99
apache is at c:\apache and is v. 2.2.14.0

Yes - I have done a search and already read the posts with this issue - nothing helped me.

(I had older versions of all 3 playing just fine on my old XP laptop, but can't get them to work on Vista)

PHP and Apache both run fine and play together just fine.
I can't access mysql thru apache using php, so I tried the command prompt, it doesn't work here either.

Windows task mgr shows MYSQL running at a service, name MYSQL, pid column says 1736 - whatever that means.

OK - command promt conversation:

c:\users\brenda>mysql/bin
ERROR 2003 <HY000>: can't connect to mysql server on 'localhost' <10061>

This prompt above also caused my Comodo security program to ask me about allowing cmd.exe to connect to mysql.exe (this tells me that with the above path I typed in, mysql/bin, that the computer DID find mysql.exe, so that is good. I typed lots of other paths and things at the command prompt, and only got errors saying couldn't find the path specified - so I know this is the thing to type, mysql/bin). And, the computer beeps then gives the error message.

I have been working on this problem for months, I can't figure out why I can't access my mysql db, it IS running as a service.

I would be so grateful if I could finally fix this problem. Does it matter what order I installed mysql/php/apache in? I did have an older version of mysql installed at first, but uninstalled it and cleaned it out of the registry.

Viewing all articles
Browse latest Browse all 7247

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>