Database data file location: mysql installation directory data
Its DATA directory path can be displayed by command : show variables like '%datadir%'
Database log file location: mysql installation directory \Data\XXXX.err
The path to all directories of its log files can be displayed with the command: show variables like 'log_%'
INFORMATION_SCHEMA TABLES表
The TABLES table gives information about the tables in the database.
Notes:
· TABLE_SCHEMA and TABLE_NAME are single fields in the SHOW display, such as Table_in_db1.
· TABLE_TYPE (table type) should be BASE TABLE (base table) or VIEW (view). TABLE_TYPE = TEMPORARY if the table is temporary. (There is no temporary view, so, so there is no ambiguity).
· If the table is in the INFORMATION_SCHEMA database, the TABLE_ROWS column is NULL. For InnoDB tables, in SQL optimization, the row count is only a rough estimate.
· There is no information about the default character set for the table. TABLE_COLLATION is off because the collation name starts with the character set name