You first error message says:
TRY TO DO A TELNET TO 'LOCALHOST' AT PORT '3306'.
Do this!!! by starting telnet. Type in localhost
or IP# 127.0.0.1 and adjust the port number to 3306.
Then try to connect.
If you gets the message "connection refused" it means that either
you SQL server is not up and running. Or it not really running at
your LOCAL host, but somewhere else.
If it is the case that the server should run locally, then restart
the server... If you don't know how to do that, then do RTFM.
>-----Original Message-----
>From: Chris [mailto:[EMAIL PROTECTED]]
>Sent: Sunday, April 15, 2001 1:54 PM
>To: [EMAIL PROTECTED]
>Subject: Re: [PHP-WIN] MySQL problem
>
>
>Thanks for the reply.
>
>I went to mysql bin directory and typed mysql.exe, I get an error message
>"Error 2003: Can't connect to MySQL server on 'localhost' (10061)"
>
>What's the problem? Please advise.
>
>I am running Win98SE with Apache.
>
>
>
>Plutarck wrote:
>>
>> Try going into your mysql bin directory, then type:
>>
>> mysql.exe
>>
>> Then try using connect, or just doing your query.
>>
>> If that doesn't work, ensure MySQL is running. If that
>doesn't work...then
>> there is some other problem.
>>
>> --
>> Plutarck
>> Should be working on something...
>> ...but forgot what it was.
>>
>> "Chris" <[EMAIL PROTECTED]> wrote in message
>> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>> > I was trying to create a database for PHP using MySQL with
>the command
>> > c:\mysql\bin>mysqladmin create database01 and I received
>the following
>> > error message
>> > "Can't connect to MySQL server on 'localhost' (10061)
>> > Check that mysql is running on localhost and that the port is 3306.
>> > You can check this by doing 'telnet localhost 3306'"
>> >
>> > The Apache server is running. What should I do now?
--
PHP Windows 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]