Version sans cache

Mise en cache désactivé. Réglage défaut pour cette page : actif (code DEF204)
Si l'affichage est trop lent, vous pouvez désactiver le mode utilisateur pour visualiser la version en cache.

Rechercher dans le manuel MySQL

4.5.1.4 mysql Client Server-Side Help

  1. mysql> help search_string

If you provide an argument to the help command, mysql uses it as a search string to access server-side help from the contents of the MySQL Reference Manual. The proper operation of this command requires that the help tables in the mysql database be initialized with help topic information (see Section 5.1.14, “Server-Side Help Support”).

If there is no match for the search string, the search fails:

  1. mysql> help me
  2.  
  3. Nothing found
  4. Please try to run 'help contents' for a list of all accessible topics

Use help contents to see a list of the help categories:

  1. mysql> help contents
  2. You asked for help about help category: "Contents"
  3. For more information, type 'help <item>', where <item> is one of the
  4. following categories:
  5.    Account Management
  6.    Administration
  7.    Data Definition
  8.    Data Manipulation
  9.    Data Types
  10.    Functions
  11.    Functions and Modifiers for Use with GROUP BY
  12.    Geographic Features
  13.    Language Structure
  14.    Plugins
  15.    Storage Engines
  16.    Stored Routines
  17.    Table Maintenance
  18.    Triggers

If the search string matches multiple items, mysql shows a list of matching topics:

  1. mysql> help logs
  2. Many help items for your request exist.
  3. To make a more specific request, please type 'help <item>',
  4. where <item> is one of the following topics:
  5.    SHOW
  6.    SHOW BINARY LOGS
  7.    SHOW LOGS

Use a topic as the search string to see the help entry for that topic:

  1. mysql> help show binary logs
  2. Name: 'SHOW BINARY LOGS'
  3. Description:
  4. Syntax:
  5. SHOW MASTER LOGS
  6.  
  7. Lists the binary log files on the server. This statement is used as
  8. part of the procedure described in [purge-binary-logs], that shows how
  9. to determine which logs can be purged.
  10.  
  11. mysql> SHOW BINARY LOGS;
  12. +---------------+-----------+-----------+
  13. | Log_name      | File_size | Encrypted |
  14. +---------------+-----------+-----------+
  15. | binlog.000015 |    724935 | Yes       |
  16. | binlog.000016 |    733481 | Yes       |
  17. +---------------+-----------+-----------+

The search string can contain the wildcard characters % and _. These have the same meaning as for pattern-matching operations performed with the LIKE operator. For example, HELP rep% returns a list of topics that begin with rep:

  1. mysql> HELP rep%
  2. Many help items for your request exist.
  3. To make a more specific request, please type 'help <item>',
  4. where <item> is one of the following
  5. topics:
  6.    REPAIR TABLE
  7.    REPEAT LOOP
  8.    REPLACE

Rechercher dans le manuel MySQL

Traduction non disponible

Le manuel MySQL n'est pas encore traduit en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.

Document créé le 26/06/2006, dernière modification le 26/10/2018
Source du document imprimé : https://www.gaudry.be/mysql-rf-mysql-server-side-help.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :en Manuel MySQL : https://dev.mysql.com/

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.

Table des matières Haut