Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Closing MySQL 1

Status
Not open for further replies.

audiopro

Programmer
Apr 1, 2004
3,165
GB
I issue the command
Code:
c:\mysql\bin\mysqladmin.exe -u root shutdown
to close down the current MySQL sessin. This command used to work but now it appears to run, the shutdown prog beeps as before but the MySQL DOS window remains active and has to be manually closed. What am I missing?

Keith
 
Issuing the same command from the shell reports the error -
Code:
"Connect to serve@localhost failed
error:"Access denied for user root@localhost (using password: NO"
Should I include as password in the shutdown command?

Keith
 
If 'root' has a password, then it needs to be specified:[tt]
mysqladmin -u root -prootpassword shutdown
[/tt]
Otherwise you can leave out the -prootpassword .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top