问题
I have a website on a dedicated server which a friend of mine is the administrator. My question is how to access the var folder where my database is located in for direct access to .frm, .MYD and .MYI files of each of my tables in Cpanel.
回答1:
in linux (ubuntu) mysql files will be located at /var/lib/mysql/
you can access by putty. This directory is not permitted by the users.
Use "sudo su" command, then try to access this directory.
来源:https://stackoverflow.com/questions/22667759/how-to-access-the-var-folder-and-a-mysql-database-folder-with-frm-myd-and-my