79641

79641



Using Option Files

Most MySQL programs can read startup options from option files (also sometimes called configuration

files). Option files provide a convenient way to specify commonly used options so that they need not be

entered on the command linę each time you run a program. For the MySQL server, MySQL provides a number of preconfigured option files.

To determine whether a program reads option files, invoke it with the --help option. (For mysqld, use

—verbose [460] and—help [427].) If the program reads option files, the help message indicates

which files it looks for and which option groups it recognizes.

The .mylogin.cnf file that contains login path options is created by the

mysql_config_editor

utility. See Section 4.6.6, “mysql_conf ig_editor — MySQL Configuration Utility”. A “login path" is

an option group that permits only a limited set of options: host, user, and password. Client programs

specify which login path to read from .mylogin.cnf using the — login-path [230] option.

To specify an alternate file name, set the mysql_test_login_file environment variable.

This variable is used by the mysql-test-run.pl testing utility, but also is recognized by

mysql_conf ig_editor and by MySQL clients such as mysql, mysqladmin, and so forth.



Wyszukiwarka

Podobne podstrony:
Command-Line Options that Affect Option-File Handling Most MySQL programsthat support option files h
Specifying Program Options There are several ways to specify options for MySQL programs: •
MySQL Proxy Command Options To start MySQL Proxy, you can run it directly from the command linę: she
NDB Client programs. Client programs can be written that access MySQL Cluster data directly from the
lnvoking MySQL Programs To invoke a MySQL program from the command linę (that is, from your shell or
Selecting SQL Modes The MySQL server can operate in different SQL modes, and can apply these modes d
Using Foreign Keys In MySQL, innoDB tables support checking of foreign key constraints. See Section
Node j ssupport. MySQL Cluster NDB 7.3 also supports applications written in JavaScript using Node.j
Standard MySQL clients. MySQL Cluster can be used with existing MySQL applications written in PHP, P
Using Replication for Scale-Out You can use replication as a scale-out solution; that is, where you
Naruto t57 r5397 Raw satfat Translation hisshouburaiken NOTICE: You can read this chapter and morę
DSC38 (9) How to keep AVCS ENCs up-to-date using Planning Station AVCS ENC updates can be requested
Dragon?ll Episode of?rdock – page Raw friedrich Translationnaruhodo NOTICE: You can read this ch
Davies0003 Taking Notes from Kesearcn Keaaing If you take notes efficiently, you can read with morę
Do Unto Others JEFF ABBOTT DO UNTOothers "One of the most fun mysteries I ve read in years
7 11 You can read abort the importance of listening during negotiation in the foliowing books: 1.

więcej podobnych podstron