Here's the deal:
mysqld, the database server, has to be running and sitting there waiting for
mysql, the client, to be able to talk to it.
Before you can use any of the other mysql things, you *MUST* run mysqld (or
safe_mysqld).
So, start up an extra DOS Windows, and run mysqld.
It will start up, and then just sit there. It's not hung. It's supposed to
do that. It's now a database server waiting for somebody in another DOS
window to do something interesting to talk to it, like mysql.
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: "Cesar Cuneo" <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Monday, June 25, 2001 3:59 PM
Subject: [PHP] Installation problems with MySQL
> Hello,
>
> Can anyone please help me with MySQL installation?
>
> I am installing MYSQL on Windows 2000 version 3.23.38-win.zip
>
> But when I try to run it in the command line I receive the following
> statements:
>
>
>
>
> C:\mysql>cd bin
>
> C:\mysql\bin>mysql -p
> Enter password:
> ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)
>
> C:\mysql\bin>scripts/mysql_install_db
> 'scripts' is not recognized as an internal or external command,
> operable program or batch file.
>
> C:\mysql\scripts>cd..
>
> C:\mysql>cd bin
>
> C:\mysql\bin>mysqladmin -password newpassword
> mysqladmin: connect to server at 'localhost' failed
> error: 'Can't connect to MySQL server on 'localhost' (10061)'
> Check that mysqld is running on localhost and that the port is 3306.
> You can check this by doing 'telnet localhost 3306'
>
> C:\mysql\bin>
>
> Please help me .
>
> Cesar
>
> -----Original Message-----
> From: infoz [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 25, 2001 8:38 AM
> To: [EMAIL PROTECTED]; Peter Van Dijck
> Subject: Re: [PHP] damn $REQUEST_URI
>
>
> $HTTP_HOST
>
> Run a page with <? phpinfo() ?> on your server & you'll see all sorts of
> goodies in there.
>
> - Tim
> http://www.phptemplates.org
>
> ----- Original Message -----
> From: "Peter Van Dijck" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, June 25, 2001 7:10 AM
> Subject: [PHP] damn $REQUEST_URI
>
>
> > $REQUEST_URI gets me home/dir/index.php
> > but I need to get the domain name.
> >
>
>
> --
> PHP General 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 General 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 General 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]