Hi,
I want to connect my database on my iss server with my sql server who's also on that server does anyone knows the code so far i got this
<?php
$con = mysql_pconnect( "localhost", "username", "pass")
mysql_select_db( "username")
?>
but if i look at the webpage in IE it will return the following :
Warning: mysql_pconnect(): Can't connect to MySQL server on 'localhost' (10061) in C:\Inetpub\wwwroot\Rasor\index.php on line 6
Unable to connect to SQL server
the fault is in
$con = mysql_pconnect( "localhost", "username", "pass")
but i dont know whats wrong
i hope someone can help me