Re: MySQL problem
| From: | Patrick | Date: | Sun, 15 Apr 2001 13:18:47 +0000 |
| Subject: | Re: MySQL problem | ||
| References: | 1 2 3 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-6746@lists.php.net to get a copy of this message | ||
"Chris" <frizzy1994@hotmail.com> wrote in message
news:3AD98BED.E334FA12@hotmail.com...
> 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?
C:\mysql\bin\winmysqladmin.exe #loads and Icon in your systray
or C:\mysql\bin\mysqld-opt.exe # optimized for Pentium processor
or C:\mysql\bin\mysqld.exe # debug-enabled
if none of these are there you got the scr file.
need to download the binary version or compile it yourself.
check out C:\mysql\Docs