mysql查看帮助

在不同的 mysql 版本中,很多特性和语法有可能是不一样的,想要知道当前版本

的语法,最好的办法是学会使用 mysql 的帮助。方法很简单:

mysql> ? contents
You asked for help about help category: "Contents"
For more information, type 'help <item>', where <item> is one of the following
categories:
   Account Management
   Administration
   Compound Statements
   Data Definition
   Data Manipulation
...
mysql> ? data types
mysql> ? create table
都是以问号?开头来读取帮助文档的。



猜你喜欢

转载自blog.csdn.net/weixin_30363263/article/details/80761675