Depreciated table_cache

Hello,

REF: http://bugs.mysql.com/bug.php?id=68315 From 5.1.3 table_cache is depreciated as per change log. table_open_cache is replaced with table_cache.

In MySQL 5.5, we can still use table_cache while in MySQL 5.6 mysqld fails to start when table_cache is used instead of table_open_cache and this is not documented. I thought there should be warning need to print out in error log if table_cache is used after MySQL 5.1.3 version.

I've installed debian 7 with dotdeb mysql 5.6 packages. In the virtualmin wizard, 'MySQL database size' step, I'm facing the following error when trying to go to next level:

MySQL could not be started with the new configuration :
 
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
 
. The old configuration has been restored.

I found that it's because virtualmin uses table_cache instead of table_open_cache to modify my.cnf variables.

Please fix the issue.

Status: 
Closed (fixed)

Comments

Thanks - this will be handled better in the next Webmin release.

Automatically closed -- issue fixed for 2 weeks with no activity.