简体   繁体   中英

How to Access the MySQL Directory

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM