The question about php + mysql for win2000
| From: | Christine Green | Date: | Sat, 12 Aug 2000 08:34:53 +0000 |
| Subject: | The question about php + mysql for win2000 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-16291@lists.php.net to get a copy of this message | ||
I have a question about php+mysql for Win2000.
Mysql is running in NT Server,and i can create database use "root" and
"12345",but i cann't use php.
Who can tell me about this?
Thanks for any advice!
My php code as:
<?
$hostname="localhost";
$dbusername="root";
$dbpassword="12345";
$dbname="php4bbs";
mysql_connect($hostname,$dbusername,$dbpassword) OR DIE("fail");
... ...
The ie get a error as:
Warning: MySQL Connection Failed: Can't create TCP/IP socket (10106) in
F:\php\program\php4bbs\createtables.php on line 6
Christine Green