Extract Sql Statements From Files; Normalize Table File Name Extensions; 4.6.13. Mysql_Find_Rows; 4.6.14. Mysql_Fix_Extensions - Oracle 5.0 Reference Manual

Table of Contents

Advertisement

Specifying a password on the command line should be considered insecure. See
"End-User Guidelines for Password
--printerror=1
Enable error output.
--socket=path
For connections to localhost, the Unix socket file to use, or, on Windows, the name of the named
pipe to use.
--user=user_name
The MySQL user name to use when connecting to the server.
4.6.13.
mysql_find_rows
mysql_find_rows
regular expression or that contain
with update log files (as used prior to MySQL 5.0) and as such expects statements to be terminated
with semicolon (;) characters. It may be useful with other files that contain SQL statements as long as
statements are terminated with semicolons.
Invoke
mysql_find_rows
shell>
mysql_find_rows [options] [file_name ...]
Each
file_name
given,
mysql_find_rows
Examples:
mysql_find_rows --regexp=problem_table --rows=20 < update.log
mysql_find_rows --regexp=problem_table
mysql_find_rows
--help
Display a help message and exit.
--regexp=pattern
Display queries that match the pattern.
--rows=N
Quit after displaying
--skip-use-db
Do not include
--start_row=N
Start output from this row.
4.6.14.
mysql_fix_extensions
mysql_fix_extensions
forms. It looks for files with extensions matching any lettercase variant of .frm, .myd, .myi, .isd,
and
and renames them to have extensions of .frm, .MYD, .MYI, .ISD, and .ISM, respectively.
.ism
mysql_find_rows
[366],
-e 1
[366],
-S path
[366],
-u user_name

— Extract SQL Statements from Files

reads files containing SQL statements and extracts statements that match a given
USE db_name
like this:
argument should be the name of file containing SQL statements. If no file names are
reads the standard input.
supports the following options:
[366],
--Information
[366]
[366]
queries.
N
[366]
statements in the output.
USE db_name
[366]
converts the extensions for

— Extract SQL Statements from Files

Security".
or
statements. The utility was written for use
SET
update-log.1 update-log.2
[366]

— Normalize Table File Name Extensions

MyISAM
366
Section 6.1.2.1,
(or ISAM) table files to their canonical

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 5.0 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Mysql 5.0

Table of Contents