Guest_imported
New member
- Jan 1, 1970
- 0
I have loaded php/mysql and apache for windows and can navigate to phpinfo to view the php settings but when I try to connect to the localhost I get the error messge:
Warning: MySQL Connection Failed: Can't connect to MySQL server on 'localhost' (10061) in lib.inc.php on line 255
I have changed the server names in httpd.conf, config.php to 'localhost' but still get the error. When I check the mysql environment vars in phpinfo it shows:
Local Value Master Value
mysql.default_host no value no value
_password no value no value
_port no value no value
_socket no value no value
_user no value no value
I don't know if these need setting nor how to set them. There's nothing in the instructions indicating a file to edit. I've run the batch files which put the .dll's into the Windows dir so that shouldnm't be a problem.
Any help is so appreciated!
Ramon
Warning: MySQL Connection Failed: Can't connect to MySQL server on 'localhost' (10061) in lib.inc.php on line 255
I have changed the server names in httpd.conf, config.php to 'localhost' but still get the error. When I check the mysql environment vars in phpinfo it shows:
Local Value Master Value
mysql.default_host no value no value
_password no value no value
_port no value no value
_socket no value no value
_user no value no value
I don't know if these need setting nor how to set them. There's nothing in the instructions indicating a file to edit. I've run the batch files which put the .dll's into the Windows dir so that shouldnm't be a problem.
Any help is so appreciated!
Ramon