hi...
| From: | Leonardo Felici | Date: | Mon, 25 Aug 2003 13:45:07 +0000 |
| Subject: | hi... | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-20603@lists.php.net to get a copy of this message | ||
Hi, probably this's not the right email address but, I have searched trought
the whole site and I just can't find the solution to my problem...maybe you
can give me just a quick clue...
I've installed php on XP, I can run a php script (such as php.inf) but every
time I try using the connection with MySQL I get the same error...
Warning: mysql_connect(): Can't connect to MySQL server on 'localhost'
(10061) in c:\program files\apache group\apache\htdocs\php
prove\dbconnect.php on line 11
Could not connect to database, cazzo cerca il il database, SCEMO!
Maybe I have to configure php so it can find MySQL, here is my php.inf
regarding MySQL...
mysql
MySQL Support enabled
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 -1 -1
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
Thank you very much, I appreciate
Flavio