问题
I was creating a file into my server with this sentence applied in myphpadmin and well of course it creates a file
SELECT column1, column2
INTO OUTFILE 'outfile.csv'
FIELDS TERMINATED BY ','
FROM table_name;
but the file is stored in var/lib/mysql
How can I access that directory VAR/LIB/MYSQL from the brother just like we access the domain after the www directory?
回答1:
var/lib/mysql is a local directory that does not have external (www) access. If you're using phpMyAdmin, you should use the export feature.
来源:https://stackoverflow.com/questions/14904790/how-to-access-the-mysql-directory