Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HELP!!!!-MySQL connection error when first loading package

Status
Not open for further replies.

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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top