Added mysql subpage
This commit is contained in:
19
MySQL/README.md
Normal file
19
MySQL/README.md
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# MySQL
|
||||||
|
|
||||||
|
## Query thats show essential information about MySQL tables
|
||||||
|
|
||||||
|
MySQL internal databases/schemas are excluded in `WHERE` statement.
|
||||||
|
|
||||||
|
```sql
|
||||||
|
SELECT
|
||||||
|
TABLE_SCHEMA,
|
||||||
|
TABLE_NAME,
|
||||||
|
TABLE_TYPE,
|
||||||
|
ENGINE,
|
||||||
|
ROW_FORMAT,
|
||||||
|
TABLE_ROWS
|
||||||
|
FROM
|
||||||
|
information_schema.tables
|
||||||
|
WHERE
|
||||||
|
TABLE_SCHEMA NOT IN ("performance_schema", "information_schema", "mysql");
|
||||||
|
```
|
||||||
@@ -9,6 +9,7 @@
|
|||||||
* [git](./git/README.md)
|
* [git](./git/README.md)
|
||||||
* [Linux](./linux/README.md)
|
* [Linux](./linux/README.md)
|
||||||
* [Shell commands](./linux/shell_commands.md)
|
* [Shell commands](./linux/shell_commands.md)
|
||||||
|
* [MySQL](./MySQL/README.md)
|
||||||
* [ODroid](./odroid.md)
|
* [ODroid](./odroid.md)
|
||||||
* [OpenSSL](./OpenSSL.md)
|
* [OpenSSL](./OpenSSL.md)
|
||||||
* [Python](./Python/README.md)
|
* [Python](./Python/README.md)
|
||||||
|
|||||||
Reference in New Issue
Block a user