79537

79537



lnvoking MySQL Programs

To invoke a MySQL program from the command linę (that is, from your shell or command prompt),

enter the program name followed by any options or other arguments needed to instruct the program

what you want it to do. The following commands show some sample program invocations. “shell>”

represents the prompt for your command interpreter; it is not part of what you type. The particular

prompt you see depends on your command interpreter. Typical prompts

are $ for sh, ksh, or bash, %

for csh Or tcsh, and C: \>for the Windows command .com orcmd.exe command interpreters.

shell>mysql —user=root test

shell>mysqladmin extended-statuś variables

shell>mysqlshow —help

shell>raysqldump -u root personnel

Arguments that begin with a single or double dash    specify

program options. Options typically

indicate the type of connection a program should make to the server or affect its operational modę.

Option syntax is described in Section 4.2.3, “Specifying Program Options”.

Nonoption arguments (arguments with no leading dash) provide additional information to the program.

For example, the mysql program interprets the first nonoption argument as a database name, so the

command mysql —user=root test indicates that you want to use the test database.

Later sections that describe individual programs indicate which options a program supports and

describe the meaning of any additional nonoption arguments.

Some options are common to a number of programs. The most frequently used of these are the —

host [221] (or-h),--user [222] (or-u), and--password [221] (or —p) options that specify

connection parameters. They indicate the host where the MySQL server is running, and the user

name and password of your MySQL account. Ali MySQL Client programs understand these options;



Wyszukiwarka

Podobne podstrony:
XP7 0®Confirm Device Removal USB Humań Interface Device Warning: You are about to uninstall this dev
image111 (7) MM Confirm Device Uninstall USB Input Device Waming: You are about to uninstall this de
The aim of the reform is to change fundamentally the present status of the working man, that is to e
This is just a test project to perform a finał test on the fundraising script This is just a test pr
X Add a productEnter an access codę A product access codę might come with your textbook, from your s
autostretching0184 THE NECK 19. Yourdifficulty is: Turning your head and neck to the right while ben
fonnulation of the verifiability principle, that is, lo fmd a criterion of signifirance appropriate
Using Client Programs in a MultipleServer Environment To connect with a Client program to a MySQL se
MySQL Differences from Standard SQL We try to make MySQL Server follow the ANSI SQL standard and the
MySQL Proxy Command Options To start MySQL Proxy, you can run it directly from the command linę: she
image115 (7) Add/Remove Programs*J Are you surę you want to remove DriveWindow 2 from your Computer?
DSC00026 (4) Chapter 10. APPENDIX TO LABORATORY i 10.5. Writing programs from the signai diagrams kC
image117 (6) Add or Remove Programs Are you surę you want to remove DriveWindow 2 from your Computer

więcej podobnych podstron