mySQL 5.0.11 sources for tomato
[tomato.git] / release / src / router / mysql / man / mysqld_safe.1
bloba958fdd29f7b5eca58f0e7b503d6fe26217d314a
1 '\" t
2 .\"     Title: \fBmysqld_safe\fR
3 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.77.1 <http://docbook.sf.net/>
5 .\"      Date: 11/04/2013
6 .\"    Manual: MySQL Database System
7 .\"    Source: MySQL 5.1
8 .\"  Language: English
9 .\"
10 .TH "\FBMYSQLD_SAFE\FR" "1" "11/04/2013" "MySQL 5\&.1" "MySQL Database System"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 .ie \n(.g .ds Aq \(aq
19 .el       .ds Aq '
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
24 .nh
25 .\" disable justification (adjust text to left margin only)
26 .ad l
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
30 .\" mysqld_safe
31 .\" tools: mysqld_safe
32 .\" scripts
33 .SH "NAME"
34 mysqld_safe \- MySQL server startup script
35 .SH "SYNOPSIS"
36 .HP \w'\fBmysqld_safe\ \fR\fB\fIoptions\fR\fR\ 'u
37 \fBmysqld_safe \fR\fB\fIoptions\fR\fR
38 .SH "DESCRIPTION"
39 .PP
40 \fBmysqld_safe\fR
41 is the recommended way to start a
42 \fBmysqld\fR
43 server on Unix and NetWare\&.
44 \fBmysqld_safe\fR
45 adds some safety features such as restarting the server when an error occurs and logging runtime information to an error log file\&. Descriptions of error logging and NetWare\-specific behaviors are given later in this section\&.
46 .if n \{\
47 .sp
48 .\}
49 .RS 4
50 .it 1 an-trap
51 .nr an-no-space-flag 1
52 .nr an-break-flag 1
53 .br
54 .ps +1
55 \fBNote\fR
56 .ps -1
57 .br
58 .PP
59 In MySQL 5\&.1\&.20 (only), the default error logging behavior with
60 \fBmysqld_safe\fR
61 is to write errors to
62 syslog
63 on systems that support the
64 \fBlogger\fR
65 program\&. This differs from the default behavior of writing an error log file for other versions\&.
66 .PP
67 \fBIn 5\&.1\&.20, logging to \fR\fBsyslog\fR\fB may fail to operate correctly in some cases; if so, use \fR\fB\fB\-\-skip\-syslog\fR\fR\fB to use the default log file or \fR\fB\fB\-\-log\-error=\fR\fB\fIfile_name\fR\fR\fR\fB to specify a log file name explicitly\&.\fR
68 .sp .5v
69 .RE
70 .PP
71 \fBmysqld_safe\fR
72 tries to start an executable named
73 \fBmysqld\fR\&. To override the default behavior and specify explicitly the name of the server you want to run, specify a
74 \fB\-\-mysqld\fR
76 \fB\-\-mysqld\-version\fR
77 option to
78 \fBmysqld_safe\fR\&. You can also use
79 \fB\-\-ledir\fR
80 to indicate the directory where
81 \fBmysqld_safe\fR
82 should look for the server\&.
83 .PP
84 Many of the options to
85 \fBmysqld_safe\fR
86 are the same as the options to
87 \fBmysqld\fR\&. See
88 Section\ \&5.1.3, \(lqServer Command Options\(rq\&.
89 .PP
90 Options unknown to
91 \fBmysqld_safe\fR
92 are passed to
93 \fBmysqld\fR
94 if they are specified on the command line, but ignored if they are specified in the
95 [mysqld_safe]
96 group of an option file\&. See
97 Section\ \&4.2.3.3, \(lqUsing Option Files\(rq\&.
98 .PP
99 \fBmysqld_safe\fR
100 reads all options from the
101 [mysqld],
102 [server], and
103 [mysqld_safe]
104 sections in option files\&. For example, if you specify a
105 [mysqld]
106 section like this,
107 \fBmysqld_safe\fR
108 will find and use the
109 \fB\-\-log\-error\fR
110 option:
112 .if n \{\
113 .RS 4
116 [mysqld]
117 log\-error=error\&.log
119 .if n \{\
123 For backward compatibility,
124 \fBmysqld_safe\fR
125 also reads
126 [safe_mysqld]
127 sections, although you should rename such sections to
128 [mysqld_safe]
129 in MySQL 5\&.1 installations\&.
131 \fBmysqld_safe\fR
132 supports the options in the following list\&. It also reads option files and supports the options for processing them described at
133 Section\ \&4.2.3.4, \(lqCommand-Line Options that Affect Option-File Handling\(rq\&.
135 .RS 4
136 .ie n \{\
137 \h'-04'\(bu\h'+03'\c
139 .el \{\
140 .sp -1
141 .IP \(bu 2.3
143 .\" mysqld_safe: help option
144 .\" help option: mysqld_safe
145 \fB\-\-help\fR
147 Display a help message and exit\&.
150 .RS 4
151 .ie n \{\
152 \h'-04'\(bu\h'+03'\c
154 .el \{\
155 .sp -1
156 .IP \(bu 2.3
158 .\" mysqld_safe: autoclose option
159 .\" autoclose option: mysqld_safe
160 \fB\-\-autoclose\fR
162 (NetWare only) On NetWare,
163 \fBmysqld_safe\fR
164 provides a screen presence\&. When you unload (shut down) the
165 \fBmysqld_safe\fR
166 NLM, the screen does not by default go away\&. Instead, it prompts for user input:
168 .if n \{\
169 .RS 4
172 *<NLM has terminated; Press any key to close the screen>*
174 .if n \{\
178 If you want NetWare to close the screen automatically instead, use the
179 \fB\-\-autoclose\fR
180 option to
181 \fBmysqld_safe\fR\&.
184 .RS 4
185 .ie n \{\
186 \h'-04'\(bu\h'+03'\c
188 .el \{\
189 .sp -1
190 .IP \(bu 2.3
192 .\" mysqld_safe: basedir option
193 .\" basedir option: mysqld_safe
194 \fB\-\-basedir=\fR\fB\fIpath\fR\fR
196 The path to the MySQL installation directory\&.
199 .RS 4
200 .ie n \{\
201 \h'-04'\(bu\h'+03'\c
203 .el \{\
204 .sp -1
205 .IP \(bu 2.3
207 .\" mysqld_safe: core-file-size option
208 .\" core-file-size option: mysqld_safe
209 \fB\-\-core\-file\-size=\fR\fB\fIsize\fR\fR
211 The size of the core file that
212 \fBmysqld\fR
213 should be able to create\&. The option value is passed to
214 \fBulimit \-c\fR\&.
217 .RS 4
218 .ie n \{\
219 \h'-04'\(bu\h'+03'\c
221 .el \{\
222 .sp -1
223 .IP \(bu 2.3
225 .\" mysqld_safe: datadir option
226 .\" datadir option: mysqld_safe
227 \fB\-\-datadir=\fR\fB\fIpath\fR\fR
229 The path to the data directory\&.
232 .RS 4
233 .ie n \{\
234 \h'-04'\(bu\h'+03'\c
236 .el \{\
237 .sp -1
238 .IP \(bu 2.3
240 .\" mysqld_safe: defaults-extra-file option
241 .\" defaults-extra-file option: mysqld_safe
242 \fB\-\-defaults\-extra\-file=\fR\fB\fIpath\fR\fR
244 The name of an option file to be read in addition to the usual option files\&. This must be the first option on the command line if it is used\&. If the file does not exist or is otherwise inaccessible, the server will exit with an error\&.
247 .RS 4
248 .ie n \{\
249 \h'-04'\(bu\h'+03'\c
251 .el \{\
252 .sp -1
253 .IP \(bu 2.3
255 .\" mysqld_safe: defaults-file option
256 .\" defaults-file option: mysqld_safe
257 \fB\-\-defaults\-file=\fR\fB\fIfile_name\fR\fR
259 The name of an option file to be read instead of the usual option files\&. This must be the first option on the command line if it is used\&.
262 .RS 4
263 .ie n \{\
264 \h'-04'\(bu\h'+03'\c
266 .el \{\
267 .sp -1
268 .IP \(bu 2.3
270 .\" mysqld_safe: ledir option
271 .\" ledir option: mysqld_safe
272 \fB\-\-ledir=\fR\fB\fIpath\fR\fR
275 \fBmysqld_safe\fR
276 cannot find the server, use this option to indicate the path name to the directory where the server is located\&.
279 .RS 4
280 .ie n \{\
281 \h'-04'\(bu\h'+03'\c
283 .el \{\
284 .sp -1
285 .IP \(bu 2.3
287 .\" mysqld_safe: log-error option
288 .\" log-error option: mysqld_safe
289 \fB\-\-log\-error=\fR\fB\fIfile_name\fR\fR
291 Write the error log to the given file\&. See
292 Section\ \&5.2.2, \(lqThe Error Log\(rq\&.
295 .RS 4
296 .ie n \{\
297 \h'-04'\(bu\h'+03'\c
299 .el \{\
300 .sp -1
301 .IP \(bu 2.3
303 .\" mysqld_safe: mysqld option
304 .\" mysqld option: mysqld_safe
305 \fB\-\-mysqld=\fR\fB\fIprog_name\fR\fR
307 The name of the server program (in the
308 ledir
309 directory) that you want to start\&. This option is needed if you use the MySQL binary distribution but have the data directory outside of the binary distribution\&. If
310 \fBmysqld_safe\fR
311 cannot find the server, use the
312 \fB\-\-ledir\fR
313 option to indicate the path name to the directory where the server is located\&.
316 .RS 4
317 .ie n \{\
318 \h'-04'\(bu\h'+03'\c
320 .el \{\
321 .sp -1
322 .IP \(bu 2.3
324 .\" mysqld_safe: mysqld-version option
325 .\" mysqld-version option: mysqld_safe
326 \fB\-\-mysqld\-version=\fR\fB\fIsuffix\fR\fR
328 This option is similar to the
329 \fB\-\-mysqld\fR
330 option, but you specify only the suffix for the server program name\&. The basename is assumed to be
331 \fBmysqld\fR\&. For example, if you use
332 \fB\-\-mysqld\-version=debug\fR,
333 \fBmysqld_safe\fR
334 starts the
335 \fBmysqld\-debug\fR
336 program in the
337 ledir
338 directory\&. If the argument to
339 \fB\-\-mysqld\-version\fR
340 is empty,
341 \fBmysqld_safe\fR
342 uses
343 \fBmysqld\fR
344 in the
345 ledir
346 directory\&.
349 .RS 4
350 .ie n \{\
351 \h'-04'\(bu\h'+03'\c
353 .el \{\
354 .sp -1
355 .IP \(bu 2.3
357 .\" mysqld_safe: nice option
358 .\" nice option: mysqld_safe
359 \fB\-\-nice=\fR\fB\fIpriority\fR\fR
361 Use the
362 nice
363 program to set the server\*(Aqs scheduling priority to the given value\&.
366 .RS 4
367 .ie n \{\
368 \h'-04'\(bu\h'+03'\c
370 .el \{\
371 .sp -1
372 .IP \(bu 2.3
374 .\" mysqld_safe: no-defaults option
375 .\" no-defaults option: mysqld_safe
376 \fB\-\-no\-defaults\fR
378 Do not read any option files\&. This must be the first option on the command line if it is used\&.
381 .RS 4
382 .ie n \{\
383 \h'-04'\(bu\h'+03'\c
385 .el \{\
386 .sp -1
387 .IP \(bu 2.3
389 .\" mysqld_safe: open-files-limit option
390 .\" open-files-limit option: mysqld_safe
391 \fB\-\-open\-files\-limit=\fR\fB\fIcount\fR\fR
393 The number of files that
394 \fBmysqld\fR
395 should be able to open\&. The option value is passed to
396 \fBulimit \-n\fR\&. Note that you need to start
397 \fBmysqld_safe\fR
399 root
400 for this to work properly!
403 .RS 4
404 .ie n \{\
405 \h'-04'\(bu\h'+03'\c
407 .el \{\
408 .sp -1
409 .IP \(bu 2.3
411 .\" mysqld_safe: pid-file option
412 .\" pid-file option: mysqld_safe
413 \fB\-\-pid\-file=\fR\fB\fIfile_name\fR\fR
415 The path name of the process ID file\&.
418 .RS 4
419 .ie n \{\
420 \h'-04'\(bu\h'+03'\c
422 .el \{\
423 .sp -1
424 .IP \(bu 2.3
426 .\" mysqld_safe: port option
427 .\" port option: mysqld_safe
428 \fB\-\-port=\fR\fB\fIport_num\fR\fR
430 The port number that the server should use when listening for TCP/IP connections\&. The port number must be 1024 or higher unless the server is started by the
431 root
432 system user\&.
435 .RS 4
436 .ie n \{\
437 \h'-04'\(bu\h'+03'\c
439 .el \{\
440 .sp -1
441 .IP \(bu 2.3
443 .\" mysqld_safe: skip-kill-mysqld option
444 .\" skip-kill-mysqld option: mysqld_safe
445 \fB\-\-skip\-kill\-mysqld\fR
447 Do not try to kill stray
448 \fBmysqld\fR
449 processes at startup\&. This option works only on Linux\&.
452 .RS 4
453 .ie n \{\
454 \h'-04'\(bu\h'+03'\c
456 .el \{\
457 .sp -1
458 .IP \(bu 2.3
460 .\" mysqld_safe: socket option
461 .\" socket option: mysqld_safe
462 \fB\-\-socket=\fR\fB\fIpath\fR\fR
464 The Unix socket file that the server should use when listening for local connections\&.
467 .RS 4
468 .ie n \{\
469 \h'-04'\(bu\h'+03'\c
471 .el \{\
472 .sp -1
473 .IP \(bu 2.3
475 .\" mysqld_safe: syslog option
476 .\" syslog option: mysqld_safe
477 .\" mysqld_safe: skip-syslog option
478 .\" skip-syslog option: mysqld_safe
479 \fB\-\-syslog\fR,
480 \fB\-\-skip\-syslog\fR
482 \fB\-\-syslog\fR
483 causes error messages to be sent to
484 syslog
485 on systems that support the
486 \fBlogger\fR
487 program\&.
488 \-\-skip\-syslog
489 suppresses the use of
490 syslog; messages are written to an error log file\&. These options were added in MySQL 5\&.1\&.20\&.
492 When
493 syslog
494 is used, the
495 daemon\&.err
496 syslog priority/facility is used for all log messages\&.
499 .RS 4
500 .ie n \{\
501 \h'-04'\(bu\h'+03'\c
503 .el \{\
504 .sp -1
505 .IP \(bu 2.3
507 .\" mysqld_safe: syslog-tag option
508 .\" syslog-tag option: mysqld_safe
509 \fB\-\-syslog\-tag=\fR\fB\fItag\fR\fR
511 For logging to
512 syslog, messages from
513 \fBmysqld_safe\fR
515 \fBmysqld\fR
516 are written with a tag of
517 mysqld_safe
519 mysqld, respectively\&. To specify a suffix for the tag, use
520 \fB\-\-syslog\-tag=\fR\fB\fItag\fR\fR, which modifies the tags to be
521 mysqld_safe\-\fItag\fR
523 mysqld\-\fItag\fR\&. This option was added in MySQL 5\&.1\&.21\&.
526 .RS 4
527 .ie n \{\
528 \h'-04'\(bu\h'+03'\c
530 .el \{\
531 .sp -1
532 .IP \(bu 2.3
534 .\" mysqld_safe: timezone option
535 .\" timezone option: mysqld_safe
536 \fB\-\-timezone=\fR\fB\fItimezone\fR\fR
538 Set the
540 time zone environment variable to the given option value\&. Consult your operating system documentation for legal time zone specification formats\&.
543 .RS 4
544 .ie n \{\
545 \h'-04'\(bu\h'+03'\c
547 .el \{\
548 .sp -1
549 .IP \(bu 2.3
551 .\" mysqld_safe: user option
552 .\" user option: mysqld_safe
553 \fB\-\-user={\fR\fB\fIuser_name\fR\fR\fB|\fR\fB\fIuser_id\fR\fR\fB}\fR
555 Run the
556 \fBmysqld\fR
557 server as the user having the name
558 \fIuser_name\fR
559 or the numeric user ID
560 \fIuser_id\fR\&. (\(lqUser\(rq
561 in this context refers to a system login account, not a MySQL user listed in the grant tables\&.)
564 If you execute
565 \fBmysqld_safe\fR
566 with the
567 \fB\-\-defaults\-file\fR
569 \fB\-\-defaults\-extra\-file\fR
570 option to name an option file, the option must be the first one given on the command line or the option file will not be used\&. For example, this command will not use the named option file:
572 .if n \{\
573 .RS 4
576 mysql> \fBmysqld_safe \-\-port=\fR\fB\fIport_num\fR\fR\fB \-\-defaults\-file=\fR\fB\fIfile_name\fR\fR
578 .if n \{\
582 Instead, use the following command:
584 .if n \{\
585 .RS 4
588 mysql> \fBmysqld_safe \-\-defaults\-file=\fR\fB\fIfile_name\fR\fR\fB \-\-port=\fR\fB\fIport_num\fR\fR
590 .if n \{\
595 \fBmysqld_safe\fR
596 script is written so that it normally can start a server that was installed from either a source or a binary distribution of MySQL, even though these types of distributions typically install the server in slightly different locations\&. (See
597 Section\ \&2.1.5, \(lqInstallation Layouts\(rq\&.)
598 \fBmysqld_safe\fR
599 expects one of the following conditions to be true:
601 .RS 4
602 .ie n \{\
603 \h'-04'\(bu\h'+03'\c
605 .el \{\
606 .sp -1
607 .IP \(bu 2.3
609 The server and databases can be found relative to the working directory (the directory from which
610 \fBmysqld_safe\fR
611 is invoked)\&. For binary distributions,
612 \fBmysqld_safe\fR
613 looks under its working directory for
616 data
617 directories\&. For source distributions, it looks for
618 libexec
621 directories\&. This condition should be met if you execute
622 \fBmysqld_safe\fR
623 from your MySQL installation directory (for example,
624 /usr/local/mysql
625 for a binary distribution)\&.
628 .RS 4
629 .ie n \{\
630 \h'-04'\(bu\h'+03'\c
632 .el \{\
633 .sp -1
634 .IP \(bu 2.3
636 If the server and databases cannot be found relative to the working directory,
637 \fBmysqld_safe\fR
638 attempts to locate them by absolute path names\&. Typical locations are
639 /usr/local/libexec
641 /usr/local/var\&. The actual locations are determined from the values configured into the distribution at the time it was built\&. They should be correct if MySQL is installed in the location specified at configuration time\&.
644 Because
645 \fBmysqld_safe\fR
646 tries to find the server and databases relative to its own working directory, you can install a binary distribution of MySQL anywhere, as long as you run
647 \fBmysqld_safe\fR
648 from the MySQL installation directory:
650 .if n \{\
651 .RS 4
654 shell> \fBcd \fR\fB\fImysql_installation_directory\fR\fR
655 shell> \fBbin/mysqld_safe &\fR
657 .if n \{\
662 \fBmysqld_safe\fR
663 fails, even when invoked from the MySQL installation directory, you can specify the
664 \fB\-\-ledir\fR
666 \fB\-\-datadir\fR
667 options to indicate the directories in which the server and databases are located on your system\&.
669 When you use
670 \fBmysqld_safe\fR
671 to start
672 \fBmysqld\fR,
673 \fBmysqld_safe\fR
674 arranges for error (and notice) messages from itself and from
675 \fBmysqld\fR
676 to go to the same destination\&.
678 As of MySQL 5\&.1\&.20, there are several
679 \fBmysqld_safe\fR
680 options for controlling the destination of these messages:
682 .RS 4
683 .ie n \{\
684 \h'-04'\(bu\h'+03'\c
686 .el \{\
687 .sp -1
688 .IP \(bu 2.3
690 \fB\-\-syslog\fR: Write error messages to
691 syslog
692 on systems that support the
693 \fBlogger\fR
694 program\&.
697 .RS 4
698 .ie n \{\
699 \h'-04'\(bu\h'+03'\c
701 .el \{\
702 .sp -1
703 .IP \(bu 2.3
705 \fB\-\-skip\-syslog\fR: Do not write error messages to
706 syslog\&. Messages are written to the default error log file (\fIhost_name\fR\&.err
707 in the data directory), or to a named file if the
708 \fB\-\-log\-error\fR
709 option is given\&.
712 .RS 4
713 .ie n \{\
714 \h'-04'\(bu\h'+03'\c
716 .el \{\
717 .sp -1
718 .IP \(bu 2.3
720 \fB\-\-log\-error=\fR\fB\fIfile_name\fR\fR: Write error messages to the named error file\&.
723 If none of these options is given, the default is
724 \fB\-\-skip\-syslog\fR\&.
725 .if n \{\
728 .RS 4
729 .it 1 an-trap
730 .nr an-no-space-flag 1
731 .nr an-break-flag 1
733 .ps +1
734 \fBNote\fR
735 .ps -1
738 In MySQL 5\&.1\&.20
739 \fIonly\fR, the default is
740 \fB\-\-syslog\fR\&. This differs from logging behavior for other versions of MySQL, for which the default is to write messages to the default error log file\&.
741 .sp .5v
745 \fB\-\-syslog\fR
747 \fB\-\-log\-error\fR
748 are both given, a warning is issued and
749 \fB\-\-log\-error\fR
750 takes precedence\&.
752 When
753 \fBmysqld_safe\fR
754 writes a message, notices go to the logging destination (syslog
755 or the error log file) and
756 stdout\&. Errors go to the logging destination and
757 stderr\&.
759 Before MySQL 5\&.1\&.20, error logging is controlled only with the
760 \fB\-\-log\-error\fR
761 option\&. If it is given, messages go to the named error file\&. Otherwise, messages go to the default error file\&.
763 Normally, you should not edit the
764 \fBmysqld_safe\fR
765 script\&. Instead, configure
766 \fBmysqld_safe\fR
767 by using command\-line options or options in the
768 [mysqld_safe]
769 section of a
770 my\&.cnf
771 option file\&. In rare cases, it might be necessary to edit
772 \fBmysqld_safe\fR
773 to get it to start the server properly\&. However, if you do this, your modified version of
774 \fBmysqld_safe\fR
775 might be overwritten if you upgrade MySQL in the future, so you should make a copy of your edited version that you can reinstall\&.
777 On NetWare,
778 \fBmysqld_safe\fR
779 is a NetWare Loadable Module (NLM) that is ported from the original Unix shell script\&. It starts the server as follows:
781 .RS 4
782 .ie n \{\
783 \h'-04' 1.\h'+01'\c
785 .el \{\
786 .sp -1
787 .IP "  1." 4.2
789 Runs a number of system and option checks\&.
792 .RS 4
793 .ie n \{\
794 \h'-04' 2.\h'+01'\c
796 .el \{\
797 .sp -1
798 .IP "  2." 4.2
800 Runs a check on
801 MyISAM
802 tables\&.
805 .RS 4
806 .ie n \{\
807 \h'-04' 3.\h'+01'\c
809 .el \{\
810 .sp -1
811 .IP "  3." 4.2
813 Provides a screen presence for the MySQL server\&.
816 .RS 4
817 .ie n \{\
818 \h'-04' 4.\h'+01'\c
820 .el \{\
821 .sp -1
822 .IP "  4." 4.2
824 Starts
825 \fBmysqld\fR, monitors it, and restarts it if it terminates in error\&.
828 .RS 4
829 .ie n \{\
830 \h'-04' 5.\h'+01'\c
832 .el \{\
833 .sp -1
834 .IP "  5." 4.2
836 Sends error messages from
837 \fBmysqld\fR
838 to the
839 \fIhost_name\fR\&.err
840 file in the data directory\&.
843 .RS 4
844 .ie n \{\
845 \h'-04' 6.\h'+01'\c
847 .el \{\
848 .sp -1
849 .IP "  6." 4.2
851 Sends
852 \fBmysqld_safe\fR
853 screen output to the
854 \fIhost_name\fR\&.safe
855 file in the data directory\&.
857 .SH "COPYRIGHT"
860 Copyright \(co 1997, 2013, Oracle and/or its affiliates. All rights reserved.
862 This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
864 This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
866 You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.
868 .SH "SEE ALSO"
869 For more information, please refer to the MySQL Reference Manual,
870 which may already be installed locally and which is also available
871 online at http://dev.mysql.com/doc/.
872 .SH AUTHOR
873 Oracle Corporation (http://dev.mysql.com/).