Oracle 5.0 Reference Manual page 303

Table of Contents

Advertisement

mysqladmin
password new-password
Set a new password. This changes the password to
with
for connecting to the server. Thus, the next time you invoke
mysqladmin
other client program) using the same account, you will need to specify the new password.
If the
new-password
interpreter, you need to enclose it within quotation marks. On Windows, be sure to use double
quotation marks rather than single quotation marks; single quotation marks are not stripped from the
password, but rather are interpreted as part of the password. For example:
shell>
mysqladmin password "my new password"
Caution
Do not use this command used if the server was started with the
grant-tables
true even if you precede the
on the same command line to re-enable the grant tables because the flush
operation occurs after you connect. However, you can use
flush-privileges
mysqladmin password
ping
Check whether the server is available. The return status from
running, 1 if it is not. This is 0 even in case of an error such as
means that the server is running but refused the connection, which is different from the server not
running.
processlist
Show a list of active server threads. This is like the output of the
the
[287]
--verbose
Section 13.7.5.27,
"SHOW PROCESSLIST
reload
Reload the grant tables.
refresh
Flush all tables and close and open log files.
shutdown
Stop the server.
start-slave
Start replication on a slave server.
status
Display a short server status message.
stop-slave
Stop replication on a slave server.
variables
Display the server system variables and their values.
— Client for Administering a MySQL Server
value contains spaces or other characters that are special to your command
[420]
option. No password change will be applied. This is
to re-enable the grant table and then use a separate
option is given, the output is like that of
Syntax".)
283
new-password
command with
password
command to change the password.
mysqladmin
Access
SHOW PROCESSLIST
SHOW FULL
for the account that you use
mysqladmin
--skip-
flush-privileges
mysqladmin
is 0 if the server is
denied, because this
statement. If
PROCESSLIST. (See
(or any

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents