close

$ mysql -u root -p -e 'SHOW VARIABLES WHERE Variable_Name LIKE "%dir"'
Enter password:
+---------------------------+--------------------------------------------------------+
| Variable_name             | Value                                                  |
+---------------------------+--------------------------------------------------------+
| aria_sync_log_dir         | NEWFILE                                                |
| basedir                   | /usr/local/Cellar/mariadb/10.1.9                       |
| character_sets_dir        | /usr/local/Cellar/mariadb/10.1.9/share/mysql/charsets/ |
| datadir                   | /usr/local/var/mysql/                                  |
| innodb_data_home_dir      |                                                        |
| innodb_log_arch_dir       | ./                                                     |
| innodb_log_group_home_dir | ./                                                     |
| lc_messages_dir           |                                                        |
| plugin_dir                | /usr/local/Cellar/mariadb/10.1.9/lib/plugin/           |
| slave_load_tmpdir         | /var/tmp/                                              |
| tmpdir                    | /var/tmp/                                              |
| wsrep_data_home_dir       | /usr/local/var/mysql/                                  |
+---------------------------+--------------------------------------------------------+

 

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 wbkuo 的頭像
    wbkuo

    長島冰茶的工程師筆記

    wbkuo 發表在 痞客邦 留言(0) 人氣()