RE: [PHP-WIN] MySQL problem

From: Date: Sun, 15 Apr 2001 14:39:37 +0000
Subject: RE: [PHP-WIN] MySQL problem
Groups: php.windows 
Request: Send a blank email to php-windows+get-6748@lists.php.net to get a copy of this message
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:frizzy1994@hotmail.com] >Sent: Sunday, April 15, 2001 1:54 PM >To: php-windows@lists.php.net >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" <frizzy1994@hotmail.com> wrote in message >> news:3AD96DC3.10CE9956@hotmail.com... >> > 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?

« previous php.windows (#6748) next »