Name
mysql_setpermission
Synopsis
mysql_setpermission optionsThis utility is an interactive Perl program that allows an
administrator to set user privileges. To run the program, you would
typically give the --user option with the
administrative username so you can set privileges. A text menu of
options will be displayed for a variety of user administration tasks,
including setting the password and privileges for an existing user and
creating a new user. The program requires that Perl and the Perl DBI
module be installed on the system where it’s executed.
mysql_setpermission options
--hostThis option specifies the name or IP address of the server for connection.
--helpThis option displays help information about the utility.
--password=passwordThis option provides the password of the administrative user with which the utility is to log into the server, not the user for which to change privileges.
--port=portThis option specifies the port number to use for connecting to the server.
--user=userThis option provides the administrative username for logging into the server, not the user for which to change privileges.
--socket=filenameThis option provides the name of the server’s socket file.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access