MYSQL database files location

Check your my.cnf file in your MySQL program directory, look like

Linux Os Example:
datadir  = /var/lib/mysql
Windows os Example:
[mysqld]
datadir=F:/data
Or

To Execute Query:
select @@datadir;
Example:

Post a Comment

0 Comments