I tell you that there is a simple script under whatever/mysql/share/ that is
called "mysql.sever" and it manages the mysql server in a very fashionable
way: simply type "mysql.server start" or "mysql.server stop". I use the
script to launch the server when my linux box starts.

Another posibility is to use the kill command:
just type
> ps -aux | grep mysqld
and then
> kill -TERM << and the last of the processes ID >>

I hope this can help you to get into the fascinating world of MySQL.
Leonardo Javier Belen. AFIP-AR


----- Original Message -----
From: "Shravan Durvasula" <[EMAIL PROTECTED]>
To: "MySQL HELP" <[EMAIL PROTECTED]>
Sent: Wednesday, September 18, 2002 4:17 PM
Subject: Server shutdown


> Hi all,
>
> I am completely new to MySQL. I installed the source
> version of MySQL on Solaris 2.8. I did
> "mysql_install_db".
>
> I started the server by saying
> "bin/safe_mysqld --user=mysql &". The server started
> my creating "mysql.sock" file in the /tmp directory.
> Now i
> want to stop the server. How should i do it?
>
> I did "bin/mysqladmin -u mysql shutdown"
> The error message that came up was:
> **************************************************
> /home/shravan/extra/mysql/bin/mysqladmin: shutdown
> failed; error: 'Access denied for user: '@localhost'
> (Using password: NO)'
> **************************************************
>
> I also tried "bin/mysqladmin -u root shutdown" and
> also
> "bin/mysqladmin -u shravan shutdown". But i could not
> get the server down.
>
> Could anyone please help?
>
> Best Regards and thanks in advance,
> skd
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! News - Today's headlines
> http://news.yahoo.com
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to