title: What is the difference between datadir and innodb_data_home_dir in mysql?
body: <p>What is the difference between the datadir and the innodb_data_home_dir ? mysql documentation for these configuration variables is too little.</p>
  
  <p>Please explain what both of them are used for and how keeping them the same or different makes a difference.</p>