Forum Moderators: phranque
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