223
Chapter 4. MySQL Programs
Table of Contents
4.1. Overview of MySQL Programs ............................................................................................ 224
4.2. Using MySQL Programs ..................................................................................................... 229
4.2.1. Invoking MySQL Programs ....................................................................................... 229
4.2.2. Connecting to the MySQL Server ............................................................................. 229
4.2.3. Specifying Program Options ..................................................................................... 232
4.2.4. Setting Environment Variables .................................................................................. 243
4.3. MySQL Server and Server-Startup Programs ....................................................................... 244
4.3.1.
mysqld
— The MySQL Server ................................................................................ 244
4.3.2.
mysqld_safe
— MySQL Server Startup Script ........................................................ 245
4.3.3.
mysql.server
— MySQL Server Startup Script ...................................................... 249
4.3.4.
mysqld_multi
— Manage Multiple MySQL Servers ................................................ 250
4.4. MySQL Installation-Related Programs ................................................................................. 254
4.4.1.
comp_err
— Compile MySQL Error Message File .................................................... 254
4.4.2.
make_win_bin_dist
— Package MySQL Distribution as Zip Archive ....................... 255
4.4.3.
make_win_src_distribution
— Create Source Distribution for Windows ............. 256
4.4.4.
mysqlbug
— Generate Bug Report ......................................................................... 257
4.4.5.
mysql_fix_privilege_tables
— Upgrade MySQL System Tables ...................... 257
4.4.6.
mysql_install_db
— Initialize MySQL Data Directory ........................................... 258
4.4.7.
mysql_secure_installation
— Improve MySQL Installation Security .................. 259
4.4.8.
mysql_tzinfo_to_sql
— Load the Time Zone Tables .......................................... 260
4.4.9.
mysql_upgrade
— Check Tables for MySQL Upgrade ............................................ 260
4.5. MySQL Client Programs ..................................................................................................... 262
4.5.1.
mysql
— The MySQL Command-Line Tool .............................................................. 262
4.5.2.
mysqladmin
— Client for Administering a MySQL Server ......................................... 282
4.5.3.
mysqlcheck
— A Table Maintenance Program ........................................................ 288
4.5.4.
mysqldump
— A Database Backup Program ............................................................ 293
4.5.5.
mysqlimport
— A Data Import Program ................................................................. 308
4.5.6.
mysqlshow
— Display Database, Table, and Column Information .............................. 312
4.6. MySQL Administrative and Utility Programs ......................................................................... 315
4.6.1.
innochecksum
— Offline InnoDB File Checksum Utility ........................................... 315
4.6.2.
myisam_ftdump
— Display Full-Text Index information ............................................ 316
4.6.3.
myisamchk
— MyISAM Table-Maintenance Utility .................................................... 317
4.6.4.
myisamlog
— Display MyISAM Log File Contents ................................................... 333
4.6.5.
myisampack
— Generate Compressed, Read-Only MyISAM Tables .......................... 334
4.6.6.
mysqlaccess
— Client for Checking Access Privileges ............................................ 339
4.6.7.
mysqlbinlog
— Utility for Processing Binary Log Files ............................................ 342
4.6.8.
mysqldumpslow
— Summarize Slow Query Log Files .............................................. 350
4.6.9.
mysqlhotcopy
— A Database Backup Program ...................................................... 352
4.6.10.
mysqlmanager
— The MySQL Instance Manager .................................................. 354
4.6.11.
mysql_convert_table_format
— Convert Tables to Use a Given Storage
Engine .............................................................................................................................. 364
4.6.12.
mysql_explain_log
— Use EXPLAIN on Statements in Query Log ...................... 365
4.6.13.
mysql_find_rows
— Extract SQL Statements from Files ...................................... 366
4.6.14.
mysql_fix_extensions
— Normalize Table File Name Extensions ...................... 366
4.6.15.
mysql_setpermission
— Interactively Set Permissions in Grant Tables ............... 367
4.6.16.
mysql_tableinfo
— Generate Database Metadata .............................................. 367
4.6.17.
mysql_waitpid
— Kill Process and Wait for Its Termination .................................. 369
4.6.18.
mysql_zap
— Kill Processes That Match a Pattern ................................................ 370
4.7. MySQL Program Development Utilities ................................................................................ 370
4.7.1.
msql2mysql
— Convert mSQL Programs for Use with MySQL ................................. 371
4.7.2.
mysql_config
— Display Options for Compiling Clients .......................................... 371
4.7.3.
my_print_defaults
— Display Options from Option Files ...................................... 372
Содержание 5.0
Страница 1: ...MySQL 5 0 Reference Manual ...
Страница 18: ...xviii ...
Страница 60: ...40 ...
Страница 396: ...376 ...
Страница 578: ...558 ...
Страница 636: ...616 ...
Страница 844: ...824 ...
Страница 1234: ...1214 ...
Страница 1426: ...MySQL Proxy Scripting 1406 The following diagram shows an overview of the classes exposed by MySQL Proxy ...
Страница 1427: ...MySQL Proxy Scripting 1407 ...
Страница 1734: ...1714 ...
Страница 1752: ...1732 ...
Страница 1783: ...Configuring Connector ODBC 1763 ...
Страница 1793: ...Connector ODBC Examples 1773 ...
Страница 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Страница 1842: ...Connector Net Installation 1822 5 Once the installation has been completed click Finish to exit the installer ...
Страница 1864: ...Connector Net Visual Studio Integration 1844 Figure 20 24 Debug Stepping Figure 20 25 Function Stepping 1 of 2 ...
Страница 2850: ...2830 ...
Страница 2854: ...2834 ...
Страница 2928: ...2908 ...
Страница 3000: ...2980 ...
Страница 3122: ...3102 ...
Страница 3126: ...3106 ...
Страница 3174: ...3154 ...
Страница 3232: ...3212 ...