Computer >> Hướng Dẫn Máy Tính >  >> Lập Trình >> MySQL

Trợ giúp phía Server của MySQL Client

Hiểu trợ giúp phía server của client MySQL.

mysql> help search_string

Nếu cung cấp đối số cho lệnh help, mysql dùng nó làm chuỗi tìm kiếm truy cập help phía server từ nội dung MySQL Reference Manual. Hoạt động đúng cần bảng help trong database mysql được khởi tạo với thông tin chủ đề help.

Nếu không khớp chuỗi tìm kiếm, tìm kiếm thất bại. Ví dụ:

mysql> help me
Nothing found
Please try to run 'help contents' for a list of all accessible topics

Dùng help contents xem danh mục help. Ví dụ:

mysql> help contents
You asked for help about help category: "Contents"
For more information, type 'help ', where  is one of:
  Account Management
  Administration
  Data Definition
  Data Manipulation
  Data Types
  Functions
  Functions and Modifiers for Use with GROUP BY
  Geographic Features
  Language Structure
  Plugins
  Storage Engines
  Stored Routines
  Table Maintenance
  Transactions
  Triggers

Nếu chuỗi tìm kiếm khớp nhiều mục, mysql hiển thị danh sách chủ đề khớp. Ví dụ:

mysql> help logs
Many help items for your request exist.
To make a more specific request, please type 'help ', where  is one of:
  SHOW
  SHOW BINARY LOGS
  SHOW ENGINE
  SHOW LOGS