/    Sign up×
Community /Pin to ProfileBookmark

Having trouble shutting down my MySQL server.

Well as the title says, I’m having problems shutting down my MySQL server. I was using ./mysql -u root shutdown (whilst in a root console sitting in /usr/local/mysql/bin) during testing it out, but now that I have set a password to the user, I can’t get the bugger to go down.

I did try ./mysql -u root shutdown -p (and many other variants) but most of the time I just get either the list I would get from ./mysql –help or it just tells me that there’s no server called “shutdown” :/

Any help folks?

to post a comment
Full-stack Developer

3 Comments(s)

Copy linkTweet thisAlerts:
@Paul_JrOct 28.2004 — I'm on a Windows box, but when in the mysql/bin directory, I was able to shut down MySQL via: mysqladmin -u root -p. I was promted for the password, and then MySQL was shutdown.

Microsoft Windows XP [Version 5.1.2600]

(C) Copyright 1985-2001 Microsoft Corp.

C:WINDOWSsystem32>d:

D:>cd mysql/bin

D:mysqlbin>mysqladmin -u root shutdown -p

Enter password: ******

D:mysqlbin>
[/quote]

Alternately, I could have just done: [font=courier]d:mysqlbinmysqladmin -u root shutdown -p[/font] rather than moving to the /bin directory.
Copy linkTweet thisAlerts:
@Stephen_PhilbinauthorOct 28.2004 — Ah yeah. Just forgetting the admin bit Like a bell-end. Nice one Paul. ?


Excuse me whilst I slap myself in a corner for a while.........
Copy linkTweet thisAlerts:
@Paul_JrOct 29.2004 — Heh, no problem. ?

Don't slap yourself too hard; it might scar. :p
×

Success!

Help @Stephen_Philbin spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...