mysqlfilesdirectories
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
mysqlfilesdirectories [2019/02/18 11:29] – created z0hpvk | mysqlfilesdirectories [2025/03/08 22:24] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 5: | Line 5: | ||
=== Data Directory === | === Data Directory === | ||
On Ubuntu this defaults to **/ | On Ubuntu this defaults to **/ | ||
+ | A separate directory will be created for each database, apart from INFORMATION_SCHEMA. \\ | ||
+ | Also stored here by default are ... | ||
+ | * Log Files | ||
+ | * InnoDB tablespace and log files | ||
+ | * SSL and RSA certificate and key files | ||
+ | * The server process ID file | ||
+ | |||
+ | You can display the Data Directory using following command ... | ||
+ | < | ||
+ | mysql> show variable like ' | ||
+ | </ | ||
+ | |||
+ | === Log Files === | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | === Option Files === | ||
+ | To check location of my.cnf file use ... | ||
+ | < | ||
+ | mysql --help | grep ' | ||
+ | </ | ||
+ | On Ubuntu 18.04 this returns ... | ||
+ | < | ||
+ | /etc/my.cnf / | ||
+ | </ | ||
+ | Default options are read from the above files in the order given. | ||
+ | |||
+ | |||
+ | |||
mysqlfilesdirectories.1550489372.txt.gz · Last modified: 2025/03/08 22:23 (external edit)