When creating a new table, I specified the data directory with:
CREATE TABLE t2 (c1 INT PRIMARY KEY)
TABLESPACE = innodb_file_per_table
DATA DIRECTORY = '/alternative/directory';
How can I find the data directory of this table later?
If I do select @@DataDirectory
I see the global data directory, not the custom data directory for this table in particular.