Server : Win7 x64
DB : MySQL 5.5.25
It seems that mysqld is ignoring the value of innodb_data_home_dir. It is storing the datafiles in C:\ProgramData\MySQL\MySQL Server 5.5\data\{database}. The only thing in the path I specified is ibdata1.
I tried dropping the database, stopping and restarting the server, recreating the database, and it still creates the database files in the wrong place. Do I need to remove the general 'datadir' parameter?
I have been using WorkBench to make changes (since Windows in its infinite wisdom won't let me edit my.ini in notepad because of its default permissions all the way back to "Program Files", but that's another story)
Here is my config file (created by config wizard, trimmed of comments):
[client]
port=3306
[mysql]
default-character-set=utf8
[mysqld]
port=3306
basedir="C:/Program Files/MySQL/MySQL Server 5.5/"
datadir="C:/ProgramData/MySQL/MySQL Server 5.5/Data/"
character-set-server=utf8
default-storage-engine=INNODB
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
max_connections=800
query_cache_size=186M
table_cache=1520
tmp_table_size=67M
thread_cache_size=38
myisam_max_sort_file_size=100G
myisam_sort_buffer_size=67M
key_buffer_size=29M
read_buffer_size=64K
read_rnd_buffer_size=256K
sort_buffer_size=256K
innodb_data_home_dir="C:/Data/MySQL/"
innodb_additional_mem_pool_size=23M
innodb_flush_log_at_trx_commit=1
innodb_log_buffer_size=11M
innodb_buffer_pool_size=2G
innodb_log_file_size=214M
innodb_thread_concurrency=10
innodb_file_per_table
Cheers,
Chris
DB : MySQL 5.5.25
It seems that mysqld is ignoring the value of innodb_data_home_dir. It is storing the datafiles in C:\ProgramData\MySQL\MySQL Server 5.5\data\{database}. The only thing in the path I specified is ibdata1.
I tried dropping the database, stopping and restarting the server, recreating the database, and it still creates the database files in the wrong place. Do I need to remove the general 'datadir' parameter?
I have been using WorkBench to make changes (since Windows in its infinite wisdom won't let me edit my.ini in notepad because of its default permissions all the way back to "Program Files", but that's another story)
Here is my config file (created by config wizard, trimmed of comments):
[client]
port=3306
[mysql]
default-character-set=utf8
[mysqld]
port=3306
basedir="C:/Program Files/MySQL/MySQL Server 5.5/"
datadir="C:/ProgramData/MySQL/MySQL Server 5.5/Data/"
character-set-server=utf8
default-storage-engine=INNODB
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
max_connections=800
query_cache_size=186M
table_cache=1520
tmp_table_size=67M
thread_cache_size=38
myisam_max_sort_file_size=100G
myisam_sort_buffer_size=67M
key_buffer_size=29M
read_buffer_size=64K
read_rnd_buffer_size=256K
sort_buffer_size=256K
innodb_data_home_dir="C:/Data/MySQL/"
innodb_additional_mem_pool_size=23M
innodb_flush_log_at_trx_commit=1
innodb_log_buffer_size=11M
innodb_buffer_pool_size=2G
innodb_log_file_size=214M
innodb_thread_concurrency=10
innodb_file_per_table
Cheers,
Chris