Name
mysqlaccess
Synopsis
mysqlaccess [options
] [host
]user
database
Displays and modifies access rights for the MySQL server. You may
examine the rights of users for any database and in connection with
any host. Unix shell wildcards `*' and `?'
may be used to match multiple hosts, users and databases. All actions
are performed on a copy of the actual grant tables until a
mysqlaccess --commit
command is sent.
Options
- -?, --help
Display usage information.
- -b, --brief
Display results as a brief single line table.
- --commit
Move changes from temporary table to the actual grant tables. You must run mysqladmin reload before the changes will take effect.
- --copy
Renew the temporary table from the actual grant tables.
- -d database, --db=database
The database to which to connect.
- --debug=debuglevel
Set the debugging level (0 through 3).
- -h host, --host=host
The host whose access rights are examined.
- --howto
Usage examples for the program.
- -H host, --rhost=host
Connect to a database server on a remote host.
- --old-server
Connect to a pre-3.21 MySQL server.
- -p password, --password=password
Check the password of the user being examined.
- --plan
Display suggestions for future releases.
- --preview
Show difference between temporary table and actual grant tables.
- -P password, --spassword=password
Administrative password used to access the grant tables.
- --relnotes
Display the release notes for the program.
- --rollback
Undo the changes made to the temporary table.
- -t, --table
Display results in full table format.
- -u username, --user=username ...
Get MySQL and mSQL now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.