Where is my MySQL database on the server?
Usually /var/lib/mysql or /var/db/mysql directory used to store database and tales under UNIX like operating systems.
You can use the following command to locate MySQL datadir:
On windows: >mysqladmin variables | findstr "datadir" on Linux : >mysqladmin variables | grep datadir OR >grep datadir /etc/my.cnf
Comments
Post a Comment