Conventions Used in This Book
The following font conventions have been used throughout the book:
ConstantwidthUsed for program listings, as well as within paragraphs to refer to program elements such as variable or function names.
Constant width boldUsed to indicate text that you type when running commands.
ConstantwidthitalicUsed to indicate variable input; you should substitute a value of your own choosing.
- Italic
Used for URLs, hostnames, names of directories and files, Unix commands and options, and occasionally for emphasis.
Commands often are shown with a prompt to illustrate the context in
which they are used. Commands that you issue from the command line
are shown with a % prompt:
% chmod 600 my.cnfThat prompt is one that Unix users are used to seeing, but it
doesn’t necessarily signify that a command will work
only under Unix. Unless indicated otherwise, commands shown with a
% prompt generally should work under Windows, too.
If you should run a command under Unix as the root
user, the prompt is # instead:
# chkconfig --add tomcat4For commands that are specific only to Windows, the
C:\> prompt is used:
C:\> copy C:\mysql\lib\cygwinb19.dll C:\Windows\SystemSQL statements that are issued from within the
mysql client program are shown with a
mysql> prompt and terminated with a semicolon:
mysql> SELECT * FROM my_table;For examples that show a query result as you would see it when using
mysql, I sometimes truncate the output, using an
ellipsis (...) to indicate that the ...