Check to see that mySQL is running on your system. On mine, when it is not,
I get an error just like that.
Matt
""LENNART KARLSSON"" <[EMAIL PROTECTED]> wrote in message
9cefep$4pu$[EMAIL PROTECTED]">news:9cefep$4pu$[EMAIL PROTECTED]...
> Hi!
> I have a problem when I try to use a mySQL connection.
> I run Win98SE, PWS 4 and php4. php is working.
>
> When I try to run any mySQL scripts (v---- this one is a forum from
> planet-source-code.com) I get this error:
>
> Running: mysql_pconnect("localhost","root"); -->
> Warning: Can't connect to MySQL server on 'localhost' (10061) in xxxxx.php
> on line xx.
>
> What am I doing wrong?
>
> /Eric
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]