进入mysql终端mysql>show variables like '%datadir%';出来的结果即是! 转载于:https://www.cnblogs.com/kuainiao/p/3472780.html