在我的环境中,我使用的引擎是:innodb。

需求:
我需要将不同的表的数据文件存放在不同的数据目录下,而不是【datadir】所指定的单一路径下。

实现:
首先,创建需要的目录结构,后面会用到:

[root@mysql0 ~]# ls -ltr /data/
total 0
drwxr-xr-x. 4 mysql mysql 74 Jul  5 14:46 mysql
drwxr-xr-x  3 root  root  19 Jul  5 14:58 backup
[root@mysql0 ~]# 
[root@mysql0 ~]# mkdir /data/{mysql1,mysql2,mysql3}
[root@mysql0 ~]# 
[root@mysql0 ~]# ls -ltr /data
total 0
drwxr-xr-x. 4 mysql mysql 74 Jul  5 14:46 mysql
drwxr-xr-x  3 root  root  19 Jul  5 14:58 backup
drwxr-xr-x  2 root  root   6 Oct 16 16:16 mysql3
drwxr-xr-x  2 root  root   6 Oct 16 16:16 mysql2
drwxr-xr-x  2 root  root   6 Oct 16 16:16 mysql1
[root@mysql0 ~]# 
[root@mysql0 ~]# chown -R mysql.mysql /data/mysql{1,2,3}
[root@mysql0 ~]# 
[root@mysql0 ~]# ls -ltr /data
total 0
drwxr-xr-x. 4 mysql mysql 74 Jul  5 14:46 mysql
drwxr-xr-x  3 root  root  19 Jul  5 14:58 backup
drwxr-xr-x  2 mysql mysql  6 Oct 16 16:16 mysql3
drwxr-xr-x  2 mysql mysql  6 Oct 16 16:16 mysql2
drwxr-xr-x  2 mysql mysql  6 Oct 16 16:16 mysql1
[root@mysql0 ~]# 
[root@mysql0 ~]# tree -L 2 /data/
/data/
├── backup
│   └── mysql
├── mysql
│   ├── data
│   ├── log-bin
│   ├── mysql.sock
│   └── mysql.sock.lock
├── mysql1
├── mysql2
└── mysql3

8 directories, 2 files
[root@mysql0 ~]# 

上面的目录:【mysql1 / mysql2 / mysql3】在这里只是样例,在另一些场景中,可能是来自于不同的存储介质挂载出来的目录,进而实现将数据存放在不同性能的磁盘上的目的。

创建测试库:

mysql> show databases;
+-----------------------------+
| Database                    |
+-----------------------------+
| information_schema          |
| adamhuan                    |
| dprototy_media_wiki         |
| dprototy_wordpress_adamhuan |
| mysql                       |
| performance_schema          |
| sys                         |
+-----------------------------+
7 rows in set (0.26 sec)

mysql> 
mysql> create database testing_storange_1 default charset utf8;
Query OK, 1 row affected (0.57 sec)

mysql> 
mysql> show databases;
+-----------------------------+
| Database                    |
+-----------------------------+
| information_schema          |
| adamhuan                    |
| dprototy_media_wiki         |
| dprototy_wordpress_adamhuan |
| mysql                       |
| performance_schema          |
| sys                         |
| testing_storange_1          |
+-----------------------------+
8 rows in set (0.08 sec)

mysql> 

查看下当前的数据目录:

mysql> show variables like '%datadir%';
+---------------+-------------------+
| Variable_name | Value             |
+---------------+-------------------+
| datadir       | /data/mysql/data/ |
+---------------+-------------------+
1 row in set (0.00 sec)

mysql> 

可以看到,当前数据都位于:/data/mysql/data

看一下:

[root@mysql0 ~]# ls -ltr /data/mysql/data
total 192344
-rw-r----- 1 mysql mysql       56 Jul  5 14:45 auto.cnf
-rw------- 1 mysql mysql     1680 Jul  5 14:45 ca-key.pem
-rw-r--r-- 1 mysql mysql     1120 Jul  5 14:45 ca.pem
-rw------- 1 mysql mysql     1680 Jul  5 14:45 server-key.pem
-rw-r--r-- 1 mysql mysql     1120 Jul  5 14:45 server-cert.pem
-rw------- 1 mysql mysql     1676 Jul  5 14:45 client-key.pem
-rw-r--r-- 1 mysql mysql     1120 Jul  5 14:45 client-cert.pem
-rw-r--r-- 1 mysql mysql      452 Jul  5 14:45 public_key.pem
-rw------- 1 mysql mysql     1680 Jul  5 14:45 private_key.pem
drwxr-x--- 2 mysql mysql     8192 Jul  5 14:45 performance_schema
drwxr-x--- 2 mysql mysql     4096 Jul  5 14:45 mysql
drwxr-x--- 2 mysql mysql     8192 Jul  5 14:45 sys
-rw-r----- 1 mysql mysql      423 Jul  5 14:45 ib_buffer_pool
drwxr-x--- 2 mysql mysql     4096 Jul  5 15:32 dprototy_media_wiki
drwxr-x--- 2 mysql mysql     8192 Jul  5 15:32 dprototy_wordpress_adamhuan
-rw-r----- 1 mysql mysql 12582912 Jul  5 15:35 ibtmp1
drwxr-x--- 2 mysql mysql       56 Aug  2 15:31 adamhuan
-rw-r----- 1 mysql mysql  3932160 Aug  2 15:35 xb_doublewrite
-rw-r----- 1 mysql mysql 79691776 Aug  2 15:35 ibdata1
-rw-r----- 1 mysql mysql 50331648 Aug  2 15:35 ib_logfile1
-rw-r----- 1 mysql mysql 50331648 Aug  2 15:35 ib_logfile0
drwxr-x--- 2 mysql mysql       20 Oct 16 16:13 testing_storange_1
[root@mysql0 ~]# 
[root@mysql0 ~]# du -sh /data/mysql/data/*
112K    /data/mysql/data/adamhuan
4.0K    /data/mysql/data/auto.cnf
4.0K    /data/mysql/data/ca-key.pem
4.0K    /data/mysql/data/ca.pem
4.0K    /data/mysql/data/client-cert.pem
4.0K    /data/mysql/data/client-key.pem
19M     /data/mysql/data/dprototy_media_wiki
254M    /data/mysql/data/dprototy_wordpress_adamhuan
4.0K    /data/mysql/data/ib_buffer_pool
76M     /data/mysql/data/ibdata1
48M     /data/mysql/data/ib_logfile0
48M     /data/mysql/data/ib_logfile1
12M     /data/mysql/data/ibtmp1
12M     /data/mysql/data/mysql
1.1M    /data/mysql/data/performance_schema
4.0K    /data/mysql/data/private_key.pem
4.0K    /data/mysql/data/public_key.pem
4.0K    /data/mysql/data/server-cert.pem
4.0K    /data/mysql/data/server-key.pem
676K    /data/mysql/data/sys
4.0K    /data/mysql/data/testing_storange_1
3.8M    /data/mysql/data/xb_doublewrite
[root@mysql0 ~]# 

参数【innodb_file_per_table】

mysql> show variables like '%innodb_file_%';
+--------------------------+-----------+
| Variable_name            | Value     |
+--------------------------+-----------+
| innodb_file_format       | Barracuda |
| innodb_file_format_check | ON        |
| innodb_file_format_max   | Barracuda |
| innodb_file_per_table    | ON        |
+--------------------------+-----------+
4 rows in set (0.00 sec)

mysql> 

将表创建到和【datadir】不一样的目录中:

mysql> select database();
+------------+
| database() |
+------------+
| NULL       |
+------------+
1 row in set (0.00 sec)

mysql> 
mysql> use testing_storange_1;
Database changed
mysql> 
mysql> select database();
+--------------------+
| database()         |
+--------------------+
| testing_storange_1 |
+--------------------+
1 row in set (0.00 sec)

mysql> 
mysql> create table people (id int(4) not null, name varchar(19)) engine=innodb charset=utf8 data directory='/data/mysql1';
Query OK, 0 rows affected (4.06 sec)

mysql> 
mysql> show tables;
+------------------------------+
| Tables_in_testing_storange_1 |
+------------------------------+
| people                       |
+------------------------------+
1 row in set (0.03 sec)

mysql> 

看看目录的状态:

[root@mysql0 ~]# ls -ltr /data/mysql1/
total 0
[root@mysql0 ~]# ls -ltr /data/mysql1/
total 0
drwxr-x--- 2 mysql mysql 24 Oct 16 16:48 testing_storange_1
[root@mysql0 ~]# 
[root@mysql0 ~]# ls -ltr /data/mysql1/testing_storange_1/
total 96
-rw-r----- 1 mysql mysql 98304 Oct 16 16:48 people.ibd
[root@mysql0 ~]# 

而默认路径的状态:

[root@mysql0 ~]# ls -ltr /data/mysql/data/ | grep testing_storage_1
[root@mysql0 ~]# 

可以看到,数据只在指定的全新目录里面。

——————
改变表的存储目录。

先看看目标路径的状态:

[root@mysql0 ~]# ls -ltr /data/mysql2/
total 0
[root@mysql0 ~]# 

开始修改:

mysql> use testing_storange_1;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> 
mysql> show tables;
+------------------------------+
| Tables_in_testing_storange_1 |
+------------------------------+
| people                       |
+------------------------------+
1 row in set (0.00 sec)

mysql> 
mysql> show create table people;
+--------+-------------------------------------------------------------------------------------------------------------------------------------------------------+
| Table  | Create Table                                                                                                                                          |
+--------+-------------------------------------------------------------------------------------------------------------------------------------------------------+
| people | CREATE TABLE `people` (
  `id` int(4) NOT NULL,
  `name` varchar(19) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 DATA DIRECTORY='/data/mysql1/' |
+--------+-------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)

mysql> 
mysql> show table status from testing_storange_1 like 'people';
+--------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-----------------+----------+----------------+---------+
| Name   | Engine | Version | Row_format | Rows | Avg_row_length | Data_length | Max_data_length | Index_length | Data_free | Auto_increment | Create_time         | Update_time | Check_time | Collation       | Checksum | Create_options | Comment |
+--------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-----------------+----------+----------------+---------+
| people | InnoDB |      10 | Dynamic    |    0 |              0 |       16384 |               0 |            0 |         0 |           NULL | 2018-10-16 16:48:41 | NULL        | NULL       | utf8_general_ci |     NULL |                |         |
+--------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-----------------+----------+----------------+---------+
1 row in set (0.00 sec)

mysql> 
mysql> alter table people data directory='/data/mysql2';
Query OK, 0 rows affected, 1 warning (1.73 sec)
Records: 0  Duplicates: 0  Warnings: 1

mysql> 
mysql> show warnings;
+---------+------+---------------------------------+
| Level   | Code | Message                         |
+---------+------+---------------------------------+
| Warning | 1618 |  option ignored |
+---------+------+---------------------------------+
1 row in set (0.00 sec)

mysql> 

查看目录状态:

[root@mysql0 ~]# ls -ltr /data/mysql1/
total 0
drwxr-x--- 2 mysql mysql 24 Oct 16 16:48 testing_storange_1
[root@mysql0 ~]# 
[root@mysql0 ~]# ls -ltr /data/mysql2/
total 0
[root@mysql0 ~]# 

可以看到,表的data directory在创建的时候指定了,就无法被移动了。

看看当前数据库的版本:

mysql> status;
--------------
mysql  Ver 14.14 Distrib 5.7.22-22, for Linux (x86_64) using  6.2

Connection id:          5
Current database:
Current user:           root@localhost
SSL:                    Not in use
Current pager:          stdout
Using outfile:          ''
Using delimiter:        ;
Server version:         5.7.22-22-log Percona Server (GPL), Release 22, Revision f62d93c
Protocol version:       10
Connection:             Localhost via UNIX socket
Server characterset:    latin1
Db     characterset:    latin1
Client characterset:    utf8
Conn.  characterset:    utf8
UNIX socket:            /data/mysql/mysql.sock
Uptime:                 43 min 40 sec

Threads: 1  Questions: 65  Slow queries: 0  Opens: 142  Flush tables: 1  Open tables: 133  Queries per second avg: 0.024
--------------

mysql> 
mysql> select version();
+---------------+
| version()     |
+---------------+
| 5.7.22-22-log |
+---------------+
1 row in set (0.06 sec)

mysql> 

当前版本:【5.7.22】

换成版本:【8.0.12】

mysql> select version();
+-----------+
| version() |
+-----------+
| 8.0.12    |
+-----------+
1 row in set (0.00 sec)

mysql> 

再试试:

[root@oracleme software]# mysql -u root -pAbcd1@34
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 11
Server version: 8.0.12 MySQL Community Server - GPL

Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> show variables like '%datadir%';
+---------------+-----------------+
| Variable_name | Value           |
+---------------+-----------------+
| datadir       | /var/lib/mysql/ |
+---------------+-----------------+
1 row in set (0.01 sec)

mysql> 
mysql> exit
Bye
[root@oracleme software]# 
[root@oracleme software]# ls -ltrd /var/lib/mysql
drwxr-x--x 5 mysql mysql 4096 Oct 16 19:10 /var/lib/mysql
[root@oracleme software]# 
[root@oracleme software]# mkdir -p /data/mysql{1,2}
[root@oracleme software]# chown -R mysql.mysql /data
[root@oracleme software]# 
[root@oracleme software]# tree /data
/data
├── mysql1
└── mysql2

2 directories, 0 files
[root@oracleme software]# ls -ltr /data
total 0
drwxr-xr-x 2 mysql mysql 6 Oct 16 19:41 mysql2
drwxr-xr-x 2 mysql mysql 6 Oct 16 19:41 mysql1
[root@oracleme software]# 

MySQL操作:

[root@oracleme software]# mysql -u root -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 12
Server version: 8.0.12 MySQL Community Server - GPL

Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| performance_schema |
| sys                |
+--------------------+
4 rows in set (0.00 sec)

mysql> 
mysql> create database testing default charset utf8;
Query OK, 1 row affected, 1 warning (0.05 sec)

mysql> use testing;
Database changed
mysql> 
mysql> show tables;
Empty set (0.00 sec)

mysql> create table me(id int,another_me_name varchar(20)) engine=innodb data directory='/data/mysql1';
Query OK, 0 rows affected (0.03 sec)

mysql> 
mysql> show create table me;
+-------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Table | Create Table                                                                                                                                                      |
+-------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| me    | CREATE TABLE `me` (
  `id` int(11) DEFAULT NULL,
  `another_me_name` varchar(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 DATA DIRECTORY='/data/mysql1/' |
+-------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.07 sec)

mysql> 
mysql> show variables like '%innodb_file_per%';
+-----------------------+-------+
| Variable_name         | Value |
+-----------------------+-------+
| innodb_file_per_table | ON    |
+-----------------------+-------+
1 row in set (0.01 sec)

mysql> 
mysql> alter table me data directory='/data/mysql2/';
Query OK, 0 rows affected, 1 warning (0.09 sec)
Records: 0  Duplicates: 0  Warnings: 1

mysql> 
mysql> show warnings;
+---------+------+---------------------------------+
| Level   | Code | Message                         |
+---------+------+---------------------------------+
| Warning | 1618 |  option ignored |
+---------+------+---------------------------------+
1 row in set (0.00 sec)

mysql> 

依旧不行。

重新编译,… 开启debugging:【-DWITH_DEBUG=1】

cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mysql -DMYSQL_DATADIR=/data/db/mysql-data -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DENABLED_LOCAL_INFILE=ON -DWITH_INNOBASE_STORAGE_ENGINE=1 -DWITH_FEDERATED_STORAGE_ENGINE=1 -DWITH_BLACKHOLE_STORAGE_ENGINE=1 -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 -DWITH_PARTITION_STORAGE_ENGINE=1 -DWITH_PERFSCHEMA_STORAGE_ENGINE=1 -DWITH_DEBUG=1 -DWITH_READLINE=ON -DSYSCONFDIR=/data/db/mysql/confdir -DMYSQL_UNIX_ADDR=/data/db/mysql/confdir/mysql.sock -DDOWNLOAD_BOOST=1 -DWITH_BOOST=/usr/local/boost

然后,再次跑MySQL就不一样了:

[root@oracleme boost_1_68_0]# mysql -u root -p
Enter password: 
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[root@oracleme boost_1_68_0]# mysql -u root -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 9
Server version: 8.0.12-debug Source distribution

Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> 
mysql> 
mysql> show variables like '%debug%';
+-----------------------------------------+-------+
| Variable_name                           | Value |
+-----------------------------------------+-------+
| debug                                   |       |
| debug_sync                              | OFF   |
| innodb_buffer_pool_debug                | OFF   |
| innodb_change_buffering_debug           | 0     |
| innodb_compress_debug                   | none  |
| innodb_ddl_log_crash_reset_debug        | OFF   |
| innodb_dict_stats_disabled_debug        | OFF   |
| innodb_fil_make_page_dirty_debug        | 0     |
| innodb_limit_optimistic_insert_debug    | 0     |
| innodb_master_thread_disabled_debug     | OFF   |
| innodb_merge_threshold_set_all_debug    | 50    |
| innodb_page_cleaner_disabled_debug      | OFF   |
| innodb_saved_page_number_debug          | 0     |
| innodb_sync_debug                       | OFF   |
| innodb_trx_purge_view_update_only_debug | OFF   |
| innodb_trx_rseg_n_slots_debug           | 0     |
+-----------------------------------------+-------+
16 rows in set (0.04 sec)

mysql> 
mysql> set session debug='+d,skip_dd_table_access_check';
Query OK, 0 rows affected (0.00 sec)

mysql> 
mysql> SELECT * FROM mysql.tables where schema_id=5;
+-----+-----------+------+------------+--------+------------------+------------+--------------+---------+---------+-----------------------------------------------------------------------------------------------------------+-------------------+---------------+---------------+----------------+----------------------+---------------------------+----------------------+-------------------+-------------------------+------------------------------+-------------------------+---------------------+---------------------+-----------------+----------------------+-------------------+-------------------+----------------+--------------------+--------------+--------------------------+------------------------------+-------------------+
| id  | schema_id | name | type       | engine | mysql_version_id | row_format | collation_id | comment | hidden  | options                                                                                                   | se_private_data   | se_private_id | tablespace_id | partition_type | partition_expression | partition_expression_utf8 | default_partitioning | subpartition_type | subpartition_expression | subpartition_expression_utf8 | default_subpartitioning | created             | last_altered        | view_definition | view_definition_utf8 | view_check_option | view_is_updatable | view_algorithm | view_security_type | view_definer | view_client_collation_id | view_connection_collation_id | view_column_names |
+-----+-----------+------+------------+--------+------------------+------------+--------------+---------+---------+-----------------------------------------------------------------------------------------------------------+-------------------+---------------+---------------+----------------+----------------------+---------------------------+----------------------+-------------------+-------------------------+------------------------------+-------------------------+---------------------+---------------------+-----------------+----------------------+-------------------+-------------------+----------------+--------------------+--------------+--------------------------+------------------------------+-------------------+
| 333 |         5 | me   | BASE TABLE | InnoDB |            80012 | Dynamic    |           33 |         | Visible | avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;stats_auto_recalc=0;stats_sample_pages=0; | data_directory=1; |          1059 |          NULL | NULL           | NULL                 | NULL                      | NULL                 | NULL              | NULL                    | NULL                         | NULL                    | 2018-10-16 20:04:56 | 2018-10-16 20:04:56 | NULL            | NULL                 | NULL              | NULL              | NULL           | NULL               | NULL         |                     NULL |                         NULL | NULL              |
| 335 |         5 | she  | BASE TABLE | InnoDB |            80012 | Dynamic    |           33 |         | Visible | avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;stats_auto_recalc=0;stats_sample_pages=0; | NULL              |          1061 |          NULL | NULL           | NULL                 | NULL                      | NULL                 | NULL              | NULL                    | NULL                         | NULL                    | 2018-10-17 14:39:05 | 2018-10-17 14:39:05 | NULL            | NULL                 | NULL              | NULL              | NULL           | NULL               | NULL         |                     NULL |                         NULL | NULL              |
| 334 |         5 | you  | BASE TABLE | InnoDB |            80012 | Dynamic    |           33 |         | Visible | avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;stats_auto_recalc=0;stats_sample_pages=0; | data_directory=1; |          1060 |          NULL | NULL           | NULL                 | NULL                      | NULL                 | NULL              | NULL                    | NULL                         | NULL                    | 2018-10-17 14:38:00 | 2018-10-17 14:38:00 | NULL            | NULL                 | NULL              | NULL              | NULL           | NULL               | NULL         |                     NULL |                         NULL | NULL              |
+-----+-----------+------+------------+--------+------------------+------------+--------------+---------+---------+-----------------------------------------------------------------------------------------------------------+-------------------+---------------+---------------+----------------+----------------------+---------------------------+----------------------+-------------------+-------------------------+------------------------------+-------------------------+---------------------+---------------------+-----------------+----------------------+-------------------+-------------------+----------------+--------------------+--------------+--------------------------+------------------------------+-------------------+
3 rows in set (0.00 sec)

mysql> 

mysql> select schema_id,name,type,engine,mysql_version_id,hidden,se_private_id,se_private_data,created,last_altered from mysql.tables where schema_id=5;
+-----------+------+------------+--------+------------------+---------+---------------+-------------------+---------------------+---------------------+
| schema_id | name | type       | engine | mysql_version_id | hidden  | se_private_id | se_private_data   | created             | last_altered        |
+-----------+------+------------+--------+------------------+---------+---------------+-------------------+---------------------+---------------------+
|         5 | me   | BASE TABLE | InnoDB |            80012 | Visible |          1059 | data_directory=1; | 2018-10-16 20:04:56 | 2018-10-16 20:04:56 |
|         5 | she  | BASE TABLE | InnoDB |            80012 | Visible |          1061 | NULL              | 2018-10-17 14:39:05 | 2018-10-17 14:39:05 |
|         5 | you  | BASE TABLE | InnoDB |            80012 | Visible |          1060 | data_directory=1; | 2018-10-17 14:38:00 | 2018-10-17 14:38:00 |
+-----------+------+------------+--------+------------------+---------+---------------+-------------------+---------------------+---------------------+
3 rows in set (0.00 sec)

mysql> 

这样就可以看到那些表是单独指定了【data directory】的。
但是,更具体的配置,… 暂时还不知道怎么看。

——————————————————
Done。

1
说点什么

avatar
1 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
Adamhuan Recent comment authors

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据

  Subscribe  
提醒