Forum Moderators: phranque

Message Too Old, No Replies

cant connect to MYSQL Server on localhost

http://localhost/phpinfo.php

         

Flolondon

6:39 am on Apr 4, 2004 (gmt 0)

10+ Year Member



cant connect to mysql server on localhost (10061)
___________________________________________________

I have having problems connecting to mysql. this is what the information said.

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in config.inc.php and make sure that they correspond to the information given by the administrator of the MySQL server.

Server localhost
Error

MySQL said:

#2003 - Can't connect to MySQL server on 'localhost' (10061)

So i Looked at the phpinfo.php of the mysql bit aqnd it said this.

---------------------------------------
---------------------------------------

Active Persistent Links 0
Active Links 0
Client API version 3.23.49

Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off

What does this mean? does it mean that the mysql has not recognised any information i have typed in the configuration file or what?

The config.inc.php file is so messy and not put in good inorder (i.e. good lines) I am not sure where to put local host, root or any other passwords please help.

floriet from london

le_gber

3:48 pm on Apr 4, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you tried downloading the MySQL Control Center (MysqlCC) (http://www.mysql.com/downloads/mysqlcc.html) from the MySQL website. It's very user friendly.

Hope this Helps.

Leo

Flolondon

6:14 pm on Apr 5, 2004 (gmt 0)

10+ Year Member




Hi all

just thought i would let you know how i managed to solve the problem. apparently, i installed mcafee security and it kind of turned the mysql service off. I turned it on using administrative tools and then phpmyadmin started to work... thanks for ur help..