Download MySQL Utilities - Oracle Documentation

Transcript
OPTIONS
• a+
Match a sequence of one or more a.
• a?
Match zero or one a.
• ab|cd
Match ab or cd.
• a{5}
Match five instances of a.
• a{2,5}
Match from two to five instances of a.
• (abc)+
Match one or more repetitions of abc.
OPTIONS
mysqlmetagrep accepts the following command-line options:
• --help
Display a help message and exit.
• --license
Display license information and exit.
• --body, -b
Search the body of stored programs (procedures, functions, triggers, and events). The default is to
match only the name.
• --character-set=<charset>
Sets the client character set. The default is retrieved from the server variable
character_set_client.
• --database=<pattern>
Look only in databases matching this pattern.
• --format=<format>, -f<format>
Specify the output display format. Permitted format values are grid (default), csv, tab, and vertical.
• --object-types=<types>, --search-objects=<types>
Search only the object types named in types, which is a comma-separated list of one or more of the
values database, trigger, user, routine, column, table, partition, event and view.
138