How to get help for mysql/mariadb command

MySQL is a relational database management system. Relational databases store data in different tables instead of putting all data in a large warehouse, which increases speed and flexibility.

After connecting to the mysql database, use the help command or \? to get help information.

How to get help for mysql/mariadb command How to get help for mysql/mariadb command

You can also specify keywords to view the help information corresponding to specific commands .

How to get help for mysql/mariadb command How to get help for mysql/mariadb command

As you can see, the commands related to the "create" keyword are listed above. Similarly, you can use help to view the listed commands again to get the syntax of the corresponding commands.

How to get help for mysql/mariadb command How to get help for mysql/mariadb command

We can also view the help by category. Then, how many categories does mysql divide the help into? Use the help contents command to view it.

How to get help for mysql/mariadb command How to get help for mysql/mariadb command

If we want to view the help related to the data type and compare the above returned results, just enter the following command.

How to get help for mysql/mariadb command How to get help for mysql/mariadb command

Use the help command to connect to the corresponding return results in reciprocating cycles, and then you can view the corresponding help information.

Guess you like

Origin blog.csdn.net/yaxuan88521/article/details/115279262