1. View MySQL server configuration informationMysql> Show variables;2. View the various status values running on the MySQL serverMysql> show global status;3, slow query1. mysql> show variables like ‘%slow%‘; 2. +------------------+-------+ 3. |
Create/drop/grant/revoke Roles and PrivilegesHive Default authorization-legacy Mode has information about these DDL statements:
CREATE ROLE
GRANT ROLE
REVOKE ROLE
GRANT Privilege_type
REVOKE Privilege_type
DROP ROLE
18. Create and use a view tableView tableView table conceptsCreate a viewModify and delete a tableEnhanced viewing table functionality in SQL Server 2000SummaryIn Chapter 17th, we learned about indexes. indexes are a secondary database structure
MySQL has a lot of basic commands, and the show command is also one of them. In many users, the use of the show command is also prone to confusion. This article summarizes the many usage of the show command.1. Show tables or show tables from
SHOW CHARACTER SETShow all the available character setsCHARACTER SET CHARACTERSETlike'latin%';SHOW COLLATIONThe output includes all available character sets like ' latin1% ';SHOW COLUMNSDisplays the information for each column in a given table, and
The common MySQL show commands are as follows:1, show databases; Show all databases in MySQL2, show tables [from databases]; Displays the names of all tables in the current database3, Show columns from tables; Displays the names of the columns in
There are a lot of basic commands in MySQL, and the show command is one of them, and it's easy to confuse the use of SHOW commands among many users, and this article brings together the many uses of the show command.A. Show tables or show tables
Mysqldump backup principle mysqldump in the backup process, is to use the query to back up the relevant table data, and then export, stitching into the form of INSERT statements for backup. about the--single-transaction
Show open tables;Based on my use of MySQL, the commonly used MySQL show statements are listed as follows:1.show databases; Displays the names of all databases in MySQL2.show tables [from database_name]; Displays the names of all tables in the
Show can describe information about the database system in various forms, such as data tables, fields, server status, and so on. There are roughly the following methods:
Show [All] COLUMNS from tbl_name [to db_name] [like ' pattern ']
Show CREATE
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.