How to Access the MySQL Directory

自闭症网瘾萝莉.ら 提交于 2020-01-17 07:05:49

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!