Re: Installation problems with MySQL
| From: | Richard Lynch | Date: | Wed, 27 Jun 2001 05:04:19 +0000 |
| Subject: | Re: Installation problems with MySQL | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55325@lists.php.net to get a copy of this message | ||
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 richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
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" <ccuneo@corpsoftinc.com>
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:infoz@earthlink.net]
> Sent: Monday, June 25, 2001 8:38 AM
> To: php-general@lists.php.net; 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" <peter@vardus.com>
> To: <php-general@lists.php.net>
> 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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>