How do I know which configuration file is used by MySQL currently? Is there any command or something to find it out?
login to mysql with proper credential and used mysql>SHOW VARIABLES LIKE 'datadir'; that will give you path of where mysql stored