79639

79639



Usingmysąi in Batch Modę

In the previous sections, you used mysql interactively to enter queries and viewthe results. You can

also run mysql in batch modę. To do this, put the commands you want to run in a file, then tell mysql to read its input from the file:

shell>mysql <batch-file

If you are running mysql under Windows and have some special characters in the file that cause problems, you can do this:

C: >irYsql -e "source batch-file"

If you need to specify connection parameters on the command linę, the command might look like this:

shell>xttysql -h host -u u ser -p <batch-f±le

Enter password: ********

When you use mysql this way, you are creating a script file, then executing the script.

If you want the script to continue even if some of the statements in it

produce errors, you should use

the —force [261] command-line option.



Wyszukiwarka

Podobne podstrony:
GSM ArchitectureNetwork elements and connections -Nokia implementation In the previous sections we h
Reflections In the previous section it was stated that the forward and backward waves may be entirel
Suzuki RM125P 4-6 MACHINĘ TUNINGCARBURETOR TUNING IN PRACTICE In the previous section. basie princip
lin’s avcraging procedurę in the variational form is used so as to derive the one-dimensionai govemi
Example 4:    In the previous example, what is the freąuency of revolution for the dr
Selecting Particular Rows As shown in the preceding section, it is easy to retrieve an entire table.
19816 Paradiddle Power8 The same bass drum patterns used on the previous pages are used in exercise
Tsumami Kanzashi Assembly Tut by Arleen Tsumami Kanzashi Tutorial - Part ?AssemblingFlowers In the p
CSG099 88 Complete Spanish GrammarThe Coiiiniands in Reflexlve Construetions In the previous example
00099 ?e7575765f039b96ece25286d1cb221 98 Sandorf & Bassett records specific information on the
S6301998 f Fili in the following sections <removtng comment marłeś f łf necessartf. and delete th

więcej podobnych podstron