Commit 32b479ec authored by unknown's avatar unknown

manual.texi More pertinent @ref.

manual.texi	Add note about "source" to one batch file section,
manual.texi	make it more obvious to readers that there is another
manual.texi	batch file section with more information.


Docs/manual.texi:
  More pertinent @ref.
parent 3642b27c
...@@ -13804,7 +13804,7 @@ You can also use scripts in the @code{mysql} command line prompt by ...@@ -13804,7 +13804,7 @@ You can also use scripts in the @code{mysql} command line prompt by
using the @code{source} command: using the @code{source} command:
@example @example
mysql> source filename mysql> source filename;
@end example @end example
@node Twin, Apache, Batch mode, Tutorial @node Twin, Apache, Batch mode, Tutorial
...@@ -22832,8 +22832,6 @@ Note that the error messages are mostly system dependent! ...@@ -22832,8 +22832,6 @@ Note that the error messages are mostly system dependent!
@node Batch Commands, , perror, Client-Side Scripts @node Batch Commands, , perror, Client-Side Scripts
@subsection How to Run SQL Commands from a Text File @subsection How to Run SQL Commands from a Text File
@c FIX add the 'source' command
The @code{mysql} client typically is used interactively, like this: The @code{mysql} client typically is used interactively, like this:
@example @example
...@@ -22857,7 +22855,14 @@ line: ...@@ -22857,7 +22855,14 @@ line:
shell> mysql < text_file shell> mysql < text_file
@end example @end example
@xref{Client-Side Scripts}. If you are already running @code{mysql}, you can execute a SQL
script file using the @code{source} command:
@example
mysql> source filename;
@end example
For more information about batch mode, @ref{Batch mode}.
@node Log Files, Replication, Client-Side Scripts, MySQL Database Administration @node Log Files, Replication, Client-Side Scripts, MySQL Database Administration
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment