I tried googling to get the MySql path, but it was unsuccessful. Is there a unix command, where I can find the MySQL database directory path?
Advertisement
Answer
Try this query,
SHOW VARIABLES LIKE 'datadir';
I tried googling to get the MySql path, but it was unsuccessful. Is there a unix command, where I can find the MySQL database directory path?
Try this query,
SHOW VARIABLES LIKE 'datadir';